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

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

revision 137 by harbaum, Mon Mar 9 15:11:35 2009 UTC revision 138 by achadwick, Sat Mar 21 23:36:32 2009 UTC
# Line 20  else Line 20  else
20          CFLAGS += -O2          CFLAGS += -O2
21  endif  endif
22    
23  config.status: configure  configure: configure-stamp
24          echo ">>> config.status"  configure-stamp:
         dh_testdir  
25          # Add here commands to configure the package.          # Add here commands to configure the package.
26          ./configure --prefix=/usr --exec-prefix=/usr          dh_testdir
27            ./configure --prefix=/usr
28            #--exec-prefix=/usr
29  -include version.mk          #XXX dh_auto_configure
30            touch "$@"
31    
32  build: build-stamp  build: build-stamp
33    
34  build-stamp: config.status  build-stamp: configure-stamp
         echo ">>> build-stamp"  
         dh_testdir  
   
35          # Add here commands to compile the package.          # Add here commands to compile the package.
36          VERSION_PREFIX=`perl debian/parse-changelog prefix $(TRUNK_VERSION)`  \          dh_testdir
37          VERSION_SUFFIX=`perl debian/parse-changelog suffix $(TRUNK_VERSION)`  \          #XXX dh_auto_build
38          $(MAKE)          DESTDIR=`pwd`/debian/osm2go $(MAKE)
39            # VERSION_PREFIX=`perl debian/parse-changelog prefix $(TRUNK_VERSION)`  \
40            # VERSION_SUFFIX=`perl debian/parse-changelog suffix $(TRUNK_VERSION)`  \
41            # $(MAKE)
42          #docbook-to-man debian/osm2go.sgml > osm2go.1          #docbook-to-man debian/osm2go.sgml > osm2go.1
   
43          touch $@          touch $@
44    
45  clean:  clean: configure-stamp
46          echo ">>> Cleaning up"          # Add here commands to clean up after the build process.
47          dh_testdir          dh_testdir
48          dh_testroot          dh_testroot
49            #XXX dh_auto_clean
50            $(MAKE) distclean
51          rm -f build-stamp configure-stamp          rm -f build-stamp configure-stamp
   
         # Add here commands to clean up after the build process.  
         -$(MAKE) clean  
   
52          dh_clean          dh_clean
53    
54  install: build  install: build
55          echo ">>> install"          # Add here commands to install the package into debian/osm2go.
56          dh_testdir          dh_testdir
57          dh_testroot          dh_testroot
58          dh_clean -k          dh_clean -k
59          dh_installdirs          dh_installdirs
60            #XXX dh_auto_install
61          # Add here commands to install the package into debian/osm2go.          DESTDIR=`pwd`/debian/osm2go $(MAKE) install
         $(MAKE) DESTDIR=$(CURDIR)/debian/osm2go install  
   
62    
63  # Build architecture-independent files here.  # Build architecture-independent files here.
64  binary-indep: build install  binary-indep: build install
# Line 73  binary-indep: build install Line 68  binary-indep: build install
68  binary-arch: build install  binary-arch: build install
69          dh_testdir          dh_testdir
70          dh_testroot          dh_testroot
71          dh_installchangelogs  #       dh_installchangelogs ChangeLog
72          dh_installdocs  #       dh_installdocs
73          dh_installexamples  #       dh_installexamples
74  #       dh_install  #       dh_install
75  #       dh_installmenu  #       dh_installmenu
76            dh_desktop
77    #XXX    dh_icons
78  #       dh_installdebconf  #       dh_installdebconf
79  #       dh_installlogrotate  #       dh_installlogrotate
80  #       dh_installemacsen  #       dh_installemacsen
# Line 87  binary-arch: build install Line 84  binary-arch: build install
84  #       dh_installinit  #       dh_installinit
85  #       dh_installcron  #       dh_installcron
86  #       dh_installinfo  #       dh_installinfo
87          dh_installman  #       dh_installman data/osm2go.1
88          dh_link          dh_link
89          dh_strip          dh_strip
90          dh_compress          dh_compress

Legend:
Removed from v.137  
changed lines
  Added in v.138