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

Annotation of /qsampler/trunk/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2830 - (hide annotations) (download)
Thu Jul 23 20:54:53 2015 UTC (4 years, 11 months ago) by capela
File size: 1662 byte(s)
- Post-preparations for v0.3.1 Summer'15 frenzy release.
1 schoenebeck 413 #!/usr/bin/make -f
2 capela 2064 APPNAME := qsampler
3 schoenebeck 413
4     # Uncomment this to turn on verbose mode.
5 capela 2064 #export DH_VERBOSE=1
6 schoenebeck 413
7 capela 2830 export QT_SELECT=5
8 schoenebeck 413
9 capela 2830
10 schoenebeck 413 CFLAGS = -Wall -g
11    
12     ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
13     CFLAGS += -O0
14     else
15     CFLAGS += -O2
16     endif
17    
18 capela 2064 configure: configure-stamp
19     configure-stamp:
20 schoenebeck 413 dh_testdir
21 capela 2064
22 schoenebeck 413 # Add here commands to configure the package.
23 capela 2830 -$(MAKE) -f Makefile.git
24 schoenebeck 413
25 capela 2830 ./configure --prefix=/usr
26 capela 2064 touch configure-stamp
27 schoenebeck 413
28 capela 2064
29 schoenebeck 413 build: build-stamp
30    
31 capela 2064 build-stamp: configure-stamp
32 schoenebeck 413 dh_testdir
33    
34     # Add here commands to compile the package.
35 capela 2830 $(MAKE)
36 schoenebeck 413
37 capela 2064 #docbook-to-man debian/$(APPNAME).sgml > $(APPNAME).1
38 schoenebeck 413
39 capela 2064 touch $@
40    
41 schoenebeck 413 clean:
42     dh_testdir
43     dh_testroot
44 capela 2064 rm -f build-stamp configure-stamp
45 schoenebeck 413
46     # Add here commands to clean up after the build process.
47 capela 2830 -$(MAKE) -f Makefile.git clean
48 schoenebeck 413
49 capela 2830 dh_clean
50 schoenebeck 413
51     install: build
52     dh_testdir
53     dh_testroot
54 capela 2830 dh_clean -k
55 schoenebeck 413 dh_installdirs
56    
57 capela 2064 # Add here commands to install the package
58 capela 2830 $(MAKE) DESTDIR=$(CURDIR)/debian/$(APPNAME) install
59 schoenebeck 413
60    
61     # Build architecture-independent files here.
62     binary-indep: build install
63     # We have nothing to do by default.
64    
65     # Build architecture-dependent files here.
66     binary-arch: build install
67     dh_testdir
68     dh_testroot
69     dh_installchangelogs ChangeLog
70     dh_installdocs
71     dh_installexamples
72 capela 2669 dh_install
73 schoenebeck 413 # dh_installmenu
74 capela 2830 # dh_installdebconf
75 schoenebeck 413 # dh_installlogrotate
76     # dh_installemacsen
77     # dh_installpam
78     # dh_installmime
79 capela 2064 # dh_python
80 schoenebeck 413 # dh_installinit
81     # dh_installcron
82     # dh_installinfo
83 capela 2064 dh_installman
84 schoenebeck 413 dh_link
85     dh_strip
86     dh_compress
87     dh_fixperms
88     # dh_perl
89     # dh_makeshlibs
90     dh_installdeb
91     dh_shlibdeps
92     dh_gencontrol
93     dh_md5sums
94     dh_builddeb
95    
96     binary: binary-indep binary-arch
97 capela 2064 .PHONY: build clean binary-indep binary-arch binary install configure

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC