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

« back to all changes in this revision

Viewing changes to lib/init/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:
59
59
 
60
60
ifneq ($(strip $(MINGW)),)
61
61
        FILES += \
62
 
                $(ARCH_BINDIR)/$(START_UP).bat \
63
62
                $(ETC)/Init.bat \
64
63
                $(ETC)/winlocale$(EXE) \
65
64
                $(ETC)/grass-run.bat
83
82
        grass.src > $(ARCH_BINDIR)/$(START_UP) 2>/dev/null ; true"
84
83
        chmod a+x $(ARCH_BINDIR)/$(START_UP)
85
84
 
86
 
$(ARCH_BINDIR)/$(START_UP).bat: init.bat grass.bat
87
 
        @test -d $(ARCH_BINDIR) || (echo 'ARCH_DISTDIR($(ARCH_BINDIR))' not found; exit 1)
88
 
        @test -w $(ARCH_BINDIR) || (echo '($(ARCH_BINDIR))' not writeable; exit 1)
89
 
        rm -f $@ ; true
90
 
        $(SHELL) -c "sed \
91
 
        -e \"s#GISBASE_VALUE#$(RUN_GISBASE)#\" \
92
 
        grass.bat | \
93
 
        tr '/' '\\\' > $@"
94
 
        chmod a+x $@
95
 
 
96
85
$(ETC)/Init.sh: init.sh
97
86
        rm -f $@
98
87
        $(SHELL) -c "sed \