Skip to content

Commit

Permalink
r.learn.ml2 fix import of rlearnlib (#367)
Browse files Browse the repository at this point in the history
* fix Makefile
* make 'rlearnlib' dir in the installation dir

Co-authored-by: Tomas Zigo <tomas.zigo@slovanet.sk>
  • Loading branch information
anikaweinmann and tmszi committed Dec 17, 2020
1 parent 2b1a598 commit e8ce288
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion grass7/raster/r.learn.ml2/rlearnlib/Makefile
Expand Up @@ -13,10 +13,11 @@ PYCFILES := $(patsubst %,$(ETCDIR)/%.pyc,$(MODULES))
default: $(PYFILES) $(PYCFILES)

$(ETCDIR):
$(MKDIR) -p $@
$(MKDIR) $@

$(ETCDIR)/%: % | $(ETCDIR)
$(INSTALL_DATA) $< $@

install:
$(MKDIR) $(INST_DIR)/etc/r.learn.ml2/rlearnlib
cp -r $(ETCDIR) $(INST_DIR)/etc/r.learn.ml2

0 comments on commit e8ce288

Please sign in to comment.