1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
MODULE_TOPDIR = ../..
PGM = i.band.library
# TODO: unfortunately Script.make assumes that ETCFILES are Python
# modules only, this should be improved (by introducing a new variable
# in Script.make), there are more affected modules, see eg. d.polar or
# db.tests
JSON_FLS = $(wildcard *.json)
JSON_ETC = $(patsubst %,$(ETC)/$(PGM)/%,$(JSON_FLS))
include $(MODULE_TOPDIR)/include/Make/Script.make
include $(MODULE_TOPDIR)/include/Make/Python.make
default: script $(JSON_ETC)
$(ETC)/$(PGM)/%: % | $(ETC)/$(PGM)
$(INSTALL_DATA) $< $@
|