/[svn]/linuxsampler/branches/release2_1_1/debian/rules
ViewVC logotype

Contents of /linuxsampler/branches/release2_1_1/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3538 - (show annotations) (download)
Sat Jul 27 11:23:38 2019 UTC (4 years, 8 months ago) by schoenebeck
File size: 2762 byte(s)
Created linuxsampler branch 'release2_1_1'.

1 #!/usr/bin/make -f
2 # -*- makefile -*-
3 # Sample debian/rules that uses debhelper.
4 # This file was originally written by Joey Hess and Craig Small.
5 # As a special exception, when this file is copied by dh-make into a
6 # dh-make output file, you may use that output file without restriction.
7 # This special exception was added by Craig Small in version 0.37 of dh-make.
8
9 # Uncomment this to turn on verbose mode.
10 #export DH_VERBOSE=1
11
12 CFLAGS = -Wall -g
13
14 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
15 CFLAGS += -O0
16 else
17 CFLAGS += -O2
18 endif
19
20 configure: configure-stamp
21 configure-stamp:
22 dh_testdir
23 # Add here commands to configure the package.
24 if [ -e Makefile.svn ] ; then \
25 $(MAKE) -f Makefile.svn; \
26 fi
27 chmod a+x configure
28 ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
29 touch configure-stamp
30
31
32 build: build-stamp
33
34 build-stamp: configure-stamp
35 dh_testdir
36
37 # Add here commands to compile the package.
38 $(MAKE)
39 # docbook-to-man debian/linuxsampler.sgml > linuxsampler.1
40
41 # $(MAKE)
42
43 # generate Doxygen API documentation
44 $(MAKE) docs
45
46 touch build-stamp
47
48 clean:
49 dh_testdir
50 dh_testroot
51 rm -f build-stamp configure-stamp
52
53 if [ -e Makefile.svn ] ; then \
54 $(MAKE) -f Makefile.svn; \
55 fi;
56 # Add here commands to clean up after the build process.
57 chmod a+x configure
58 ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
59
60 -$(MAKE) distclean
61
62 dh_clean
63
64 install: build
65 dh_testdir
66 dh_testroot
67 dh_clean -k
68 dh_installdirs
69
70 # Add here commands to install the package into debian/tmp.
71 $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
72 mkdir -p debian/tmp/etc/ld.so.conf.d
73 echo /usr/lib/linuxsampler > debian/tmp/etc/ld.so.conf.d/linuxsampler.conf
74
75
76 # Build architecture-independent files here.
77 binary-indep: build install
78 # We have nothing to do by default.
79
80 # Build architecture-dependent files here.
81 binary-arch: build install
82 dh_testdir
83 dh_testroot
84 dh_install -a --list-missing
85 dh_installchangelogs -a ChangeLog
86 dh_installdocs -a
87 dh_installexamples
88 # dh_install
89 # dh_installmenu
90 # dh_installdebconf
91 # dh_installlogrotate
92 # dh_installemacsen
93 # dh_installpam
94 # dh_installmime
95 # dh_installinit
96 # dh_installcron
97 # dh_installinfo
98 dh_installman man/linuxsampler.1
99 dh_link
100 # dh_strip
101 dh_compress
102 dh_fixperms
103 # dh_perl
104 # dh_python
105 dh_makeshlibs -pliblinuxsampler
106 dh_installdeb -a
107 dh_shlibdeps # -L linuxsampler -l debian/linuxsampler/usr/lib/linuxsampler
108 dh_shlibdeps -pliblinuxsampler
109 dh_gencontrol -a
110 dh_md5sums -a
111 dh_builddeb -a
112
113 binary: binary-indep binary-arch
114 .PHONY: build clean binary-indep binary-arch binary install configure

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC