~ubuntu-branches/ubuntu/precise/grass/precise

« back to all changes in this revision

Viewing changes to lib/python/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Francesco Paolo Lovergine
  • Date: 2011-04-13 17:08:41 UTC
  • mfrom: (8.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20110413170841-ss1t9bic0d0uq0gz
Tags: 6.4.1-1
* New upstream version.
* Now build-dep on libjpeg-dev and current libreadline6-dev.
* Removed patch swig: obsolete.
* Policy bumped to 3.9.2, without changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
GDIR = $(PYDIR)/grass
10
10
DSTDIR = $(GDIR)/script
11
11
 
12
 
MODULES = core db raster vector
 
12
MODULES = core db raster vector array setup
13
13
 
14
14
PYFILES := $(patsubst %,$(DSTDIR)/%.py,$(MODULES) __init__)
15
15
 
16
16
default: $(DSTDIR)
17
17
        $(MAKE) $(PYFILES)
 
18
EXTRA_CLEAN_FILES = setup.py
18
19
 
19
20
$(PYDIR):
20
21
        test -d $@ || $(MKDIR) -p $@
29
30
$(DSTDIR)/%: %
30
31
        $(INSTALL_DATA) $< $@
31
32
 
 
33
setup.py: setup.py.sed
 
34
        sed \
 
35
        -e 's#@LD_LIBRARY_PATH_VAR@#$(LD_LIBRARY_PATH_VAR)#' \
 
36
        $< > $@
 
37
 
32
38
#doxygen:
33
 
DOXNAME=grasspython
 
39
DOXNAME = python