/[svn]/qsampler/trunk/debian/rules
ViewVC logotype

Diff of /qsampler/trunk/debian/rules

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

revision 2064 by capela, Fri Mar 12 16:02:32 2010 UTC revision 3517 by capela, Fri Jun 21 14:10:13 2019 UTC
# Line 1  Line 1 
1  #!/usr/bin/make -f  #!/usr/bin/make -f
2  APPNAME := qsampler  %:
3            dh $@
 # Uncomment this to turn on verbose mode.  
 #export DH_VERBOSE=1  
   
   
 CFLAGS = -Wall -g  
   
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))  
         CFLAGS += -O0  
 else  
         CFLAGS += -O2  
 endif  
   
 configure: configure-stamp  
 configure-stamp:  
         dh_testdir  
4    
5    override_dh_auto_configure:
6          # Add here commands to configure the package.          # Add here commands to configure the package.
7          -$(MAKE) -f Makefile.svn          ./autogen.sh
   
8          ./configure --prefix=/usr          ./configure --prefix=/usr
9          touch configure-stamp          # --- end custom part for configure
   
   
 build: build-stamp  
   
 build-stamp: configure-stamp  
         dh_testdir  
   
         # Add here commands to compile the package.  
         $(MAKE)  
   
         #docbook-to-man debian/$(APPNAME).sgml > $(APPNAME).1  
   
         touch $@  
   
 clean:  
         dh_testdir  
         dh_testroot  
         rm -f build-stamp configure-stamp  
10    
11    override_dh_clean:
12          # Add here commands to clean up after the build process.          # Add here commands to clean up after the build process.
13          -$(MAKE) -f Makefile.svn clean          ./autogen.sh clean
14            # --- end custom part for cleaning up
         dh_clean  
   
 install: build  
         dh_testdir  
         dh_testroot  
         dh_clean -k  
         dh_installdirs  
   
         # Add here commands to install the package  
         $(MAKE) DESTDIR=$(CURDIR)/debian/$(APPNAME) install  
   
   
 # Build architecture-independent files here.  
 binary-indep: build install  
 # We have nothing to do by default.  
   
 # Build architecture-dependent files here.  
 binary-arch: build install  
         dh_testdir  
         dh_testroot  
         dh_installchangelogs ChangeLog  
         dh_installdocs  
         dh_installexamples  
 #       dh_install  
 #       dh_installmenu  
 #       dh_installdebconf        
 #       dh_installlogrotate  
 #       dh_installemacsen  
 #       dh_installpam  
 #       dh_installmime  
 #       dh_python  
 #       dh_installinit  
 #       dh_installcron  
 #       dh_installinfo  
         dh_installman  
         dh_link  
         dh_strip  
         dh_compress  
         dh_fixperms  
 #       dh_perl  
 #       dh_makeshlibs  
         dh_installdeb  
         dh_shlibdeps  
         dh_gencontrol  
         dh_md5sums  
         dh_builddeb  
15    
16  binary: binary-indep binary-arch          dh_clean
 .PHONY: build clean binary-indep binary-arch binary install configure  

Legend:
Removed from v.2064  
changed lines
  Added in v.3517

  ViewVC Help
Powered by ViewVC