123456789101112131415161718192021222324252627282930313233343536373839 |
- MODULE_TOPDIR = ../..
- SUBDIRS = docs scripts vdigit nviz
- EXTRA_CLEAN_FILES = menustrings.py
- CLEAN_SUBDIRS = vdigit nviz
- include $(MODULE_TOPDIR)/include/Make/Dir.make
- include $(MODULE_TOPDIR)/include/Make/Doxygen.make
- ETCDIR = $(ETC)/wxpython
- SRCFILES := $(wildcard scripts/p.* compat/* gui_modules/* icons/*.* icons/silk/* images/* xml/*) gis_set.py wxgui.py README scripts/wxgui
- DSTFILES := $(patsubst %,$(ETCDIR)/%,$(SRCFILES))
- default: install_scripts
- $(MAKE) parsubdirs
- install_scripts:
- -for dir in '' compat gui_modules icons icons/silk images scripts vdigit xml nviz ; do \
- if [ ! -d $(ETCDIR)/$$dir ] ; then $(MKDIR) $(ETCDIR)/$$dir ; fi ; \
- done
- $(MAKE) $(DSTFILES)
- $(MAKE) menustrings.py
- $(ETCDIR)/scripts/wxgui: wxgui
- $(INSTALL) $< $@
- $(ETCDIR)/scripts/%: scripts/%
- $(INSTALL) $< $@
- $(ETCDIR)/%: %
- $(INSTALL_DATA) $< $@
- menustrings.py: gui_modules/menudata.py xml/menudata.xml
- python $< $(GISBASE) > $@
- #doxygen:
- DOXNAME=wxpython
|