Diff of /branches/ports/maemo/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 119 by achadwick, Wed Feb 18 00:45:06 2009 UTC revision 120 by harbaum, Mon Mar 9 15:11:35 2009 UTC
# Line 20  else Line 20  else
20          CFLAGS += -O2          CFLAGS += -O2
21  endif  endif
22    
23  configure: configure-stamp  config.status: configure
24  configure-stamp:          echo ">>> config.status"
25          dh_testdir          dh_testdir
26          # Add here commands to configure the package.          # Add here commands to configure the package.
27            ./configure --prefix=/usr --exec-prefix=/usr
28    
         touch configure-stamp  
29    
30  -include version.mk  -include version.mk
31    
32  build: build-stamp  build: build-stamp
33    
34  build-stamp: configure-stamp  build-stamp: config.status
35            echo ">>> build-stamp"
36          dh_testdir          dh_testdir
37    
38          # Add here commands to compile the package.          # Add here commands to compile the package.
39          VERSION_PREFIX=`perl debian/parse-changelog prefix $(TRUNK_VERSION)`  \          VERSION_PREFIX=`perl debian/parse-changelog prefix $(TRUNK_VERSION)`  \
40            VERSION_SUFFIX=`perl debian/parse-changelog suffix $(TRUNK_VERSION)`  \          VERSION_SUFFIX=`perl debian/parse-changelog suffix $(TRUNK_VERSION)`  \
41            $(MAKE) -f Makefile.maemo          $(MAKE)
42          #docbook-to-man debian/osm2go.sgml > osm2go.1          #docbook-to-man debian/osm2go.sgml > osm2go.1
43    
44          touch $@          touch $@
45    
46  clean:  clean:
47            echo ">>> Cleaning up"
48          dh_testdir          dh_testdir
49          dh_testroot          dh_testroot
50          rm -f build-stamp configure-stamp          rm -f build-stamp configure-stamp
# Line 53  clean: Line 55  clean:
55          dh_clean          dh_clean
56    
57  install: build  install: build
58            echo ">>> install"
59          dh_testdir          dh_testdir
60          dh_testroot          dh_testroot
61          dh_clean -k          dh_clean -k
62          dh_installdirs          dh_installdirs
63    
64          # Add here commands to install the package into debian/osm2go.          # Add here commands to install the package into debian/osm2go.
65          $(MAKE) -f Makefile.maemo DESTDIR=$(CURDIR)/debian/osm2go install          $(MAKE) DESTDIR=$(CURDIR)/debian/osm2go install
66    
67    
68  # Build architecture-independent files here.  # Build architecture-independent files here.

Legend:
Removed from v.119  
changed lines
  Added in v.120