source: grass/trunk/lib/python/script/Makefile@ 62097

Last change on this file since 62097 was 62097, checked in by martinl, 10 years ago

doxygen: remove python documentation (replaced by sphinx)

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-makefile
File size: 652 bytes
Line 
1MODULE_TOPDIR = ../../..
2
3include $(MODULE_TOPDIR)/include/Make/Other.make
4include $(MODULE_TOPDIR)/include/Make/Python.make
5
6DSTDIR = $(ETC)/python/grass/script
7
8MODULES = core db raster raster3d vector array setup task utils
9
10PYFILES := $(patsubst %,$(DSTDIR)/%.py,$(MODULES) __init__)
11PYCFILES := $(patsubst %,$(DSTDIR)/%.pyc,$(MODULES) __init__)
12
13default: $(PYFILES) $(PYCFILES)
14
15$(DSTDIR):
16 $(MKDIR) $@
17
18$(DSTDIR)/%: % | $(DSTDIR)
19 $(INSTALL_DATA) $< $@
20
21$(DSTDIR)/setup.py: $(OBJDIR)/setup.py | $(DSTDIR)
22 $(INSTALL_DATA) $< $@
23
24$(OBJDIR)/setup.py: setup.py.sed | $(OBJDIR)
25 sed \
26 -e 's#@LD_LIBRARY_PATH_VAR@#$(LD_LIBRARY_PATH_VAR)#' \
27 $< > $@
Note: See TracBrowser for help on using the repository browser.