1MODULE_TOPDIR=../../.. 2 3include $(MODULE_TOPDIR)/include/Make/Other.make 4include $(MODULE_TOPDIR)/include/Make/Python.make 5include $(MODULE_TOPDIR)/include/Make/Doxygen.make 6 7PYDIR = $(ETC)/python 8GDIR = $(PYDIR)/grass 9DSTDIR = $(GDIR)/exceptions 10 11PYFILES := $(patsubst %,$(DSTDIR)/%.py,$(MODULES) __init__) 12PYCFILES := $(patsubst %,$(DSTDIR)/%.pyc,$(MODULES) __init__) 13 14default: $(PYFILES) $(PYCFILES) $(GDIR)/__init__.py $(GDIR)/__init__.pyc 15 16 17$(PYDIR): 18 $(MKDIR) $@ 19 20$(GDIR): | $(PYDIR) 21 $(MKDIR) $@ 22 23$(DSTDIR): | $(GDIR) 24 $(MKDIR) $@ 25 26$(DSTDIR)/%: % | $(DSTDIR) 27 $(INSTALL_DATA) $< $@ 28 29#doxygen: 30DOXNAME = exceptions 31