/[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 2831 by capela, Thu Jul 23 20:54:53 2015 UTC revision 2832 by capela, Fri Jul 24 14:54:58 2015 UTC
# Line 4  APPNAME := qsampler Line 4  APPNAME := qsampler
4  # Uncomment this to turn on verbose mode.  # Uncomment this to turn on verbose mode.
5  #export DH_VERBOSE=1  #export DH_VERBOSE=1
6    
7  export QT_SELECT=5  # This is the debhelper compatibility version to use.
8    #export DH_COMPAT=4
9    
10  CFLAGS = -Wall -g  # Set Qt5 environment for qtchooser.
11    export QT_SELECT=5
12    
13    CFLAGS = -g
14  ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))  ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
15          CFLAGS += -O0  CFLAGS += -O0
16  else  else
17          CFLAGS += -O2  CFLAGS += -O2
18  endif  endif
19    
20  configure: configure-stamp  configure: configure-stamp
# Line 23  configure-stamp: Line 25  configure-stamp:
25          -$(MAKE) -f Makefile.git          -$(MAKE) -f Makefile.git
26    
27          ./configure --prefix=/usr          ./configure --prefix=/usr
28          touch configure-stamp          # --- end custom part for configure
29    
30            touch configure-stamp
31    
32  build: build-stamp  build: build-stamp
33    build-stamp: configure-stamp
 build-stamp: configure-stamp  
34          dh_testdir          dh_testdir
35    
36          # Add here commands to compile the package.          # Add here commands to compile the package.
37          $(MAKE)          $(MAKE)
38            # --- end custom part for compiling
39    
40          #docbook-to-man debian/$(APPNAME).sgml > $(APPNAME).1          touch build-stamp
   
         touch $@  
41    
42  clean:  clean:
43          dh_testdir          dh_testdir
# Line 45  clean: Line 46  clean:
46    
47          # Add here commands to clean up after the build process.          # Add here commands to clean up after the build process.
48          -$(MAKE) -f Makefile.git clean          -$(MAKE) -f Makefile.git clean
49            # --- end custom part for cleaning up
50    
51          dh_clean          dh_clean
52    
# Line 55  install: build Line 57  install: build
57          dh_installdirs          dh_installdirs
58    
59          # Add here commands to install the package          # Add here commands to install the package
60          $(MAKE) DESTDIR=$(CURDIR)/debian/$(APPNAME) install          $(MAKE) install DESTDIR=/usr/src/packages/BUILD/debian/$(APPNAME)
61            # --- end custom part for installing
62    
63  # Build architecture-independent files here.  # Build architecture-independent files here.
64  binary-indep: build install  binary-indep: build install
65  # We have nothing to do by default.          # We have nothing to do by default.
66    
67  # Build architecture-dependent files here.  # Build architecture-dependent files here.
68  binary-arch: build install  binary-arch: build install
69          dh_testdir          dh_testdir
70          dh_testroot          dh_testroot
71          dh_installchangelogs ChangeLog  #       dh_installdebconf
72          dh_installdocs          dh_installdocs
73          dh_installexamples          dh_installexamples
74          dh_install          dh_installmenu
 #       dh_installmenu  
 #       dh_installdebconf  
75  #       dh_installlogrotate  #       dh_installlogrotate
76  #       dh_installemacsen  #       dh_installemacsen
77  #       dh_installpam  #       dh_installpam
78  #       dh_installmime  #       dh_installmime
 #       dh_python  
79  #       dh_installinit  #       dh_installinit
80  #       dh_installcron          dh_installcron
 #       dh_installinfo  
81          dh_installman          dh_installman
82            dh_installinfo
83    #       dh_undocumented
84            dh_installchangelogs
85          dh_link          dh_link
86          dh_strip          dh_strip
87          dh_compress          dh_compress
88          dh_fixperms          dh_fixperms
 #       dh_perl  
89  #       dh_makeshlibs  #       dh_makeshlibs
90          dh_installdeb          dh_installdeb
91    #       dh_perl
92          dh_shlibdeps          dh_shlibdeps
93          dh_gencontrol          dh_gencontrol
94          dh_md5sums          dh_md5sums

Legend:
Removed from v.2831  
changed lines
  Added in v.2832

  ViewVC Help
Powered by ViewVC