21 |
configure-stamp: |
configure-stamp: |
22 |
dh_testdir |
dh_testdir |
23 |
# Add here commands to configure the package. |
# Add here commands to configure the package. |
24 |
$(MAKE) -f Makefile.cvs |
if [ -e Makefile.cvs ] ; then \ |
25 |
|
$(MAKE) -f Makefile.cvs; \ |
26 |
|
fi |
27 |
chmod a+x configure |
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 |
./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 |
touch configure-stamp |
40 |
|
|
41 |
# $(MAKE) |
# $(MAKE) |
42 |
|
|
43 |
|
# generate Doxygen API documentation |
44 |
|
$(MAKE) docs |
45 |
|
|
46 |
touch build-stamp |
touch build-stamp |
47 |
|
|
48 |
clean: |
clean: |
50 |
dh_testroot |
dh_testroot |
51 |
rm -f build-stamp configure-stamp |
rm -f build-stamp configure-stamp |
52 |
|
|
53 |
-$(MAKE) -f Makefile.cvs |
if [ -e Makefile.cvs ] ; then \ |
54 |
|
$(MAKE) -f Makefile.cvs; \ |
55 |
|
fi; |
56 |
# Add here commands to clean up after the build process. |
# Add here commands to clean up after the build process. |
57 |
chmod a+x configure |
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 |
./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info |
67 |
dh_clean -k |
dh_clean -k |
68 |
dh_installdirs |
dh_installdirs |
69 |
|
|
70 |
# Add here commands to install the package into debian/linuxsampler. |
# Add here commands to install the package into debian/tmp. |
71 |
$(MAKE) install DESTDIR=$(CURDIR)/debian/linuxsampler |
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp |
72 |
|
|
73 |
|
|
74 |
# Build architecture-independent files here. |
# Build architecture-independent files here. |
79 |
binary-arch: build install |
binary-arch: build install |
80 |
dh_testdir |
dh_testdir |
81 |
dh_testroot |
dh_testroot |
82 |
dh_installchangelogs |
dh_install -a --list-missing |
83 |
dh_installdocs |
dh_installchangelogs -a ChangeLog |
84 |
|
dh_installdocs -a |
85 |
dh_installexamples |
dh_installexamples |
86 |
# dh_install |
# dh_install |
87 |
# dh_installmenu |
# dh_installmenu |
93 |
# dh_installinit |
# dh_installinit |
94 |
# dh_installcron |
# dh_installcron |
95 |
# dh_installinfo |
# dh_installinfo |
96 |
dh_installman man/linuxsampler.1.in |
dh_installman man/linuxsampler.1 |
97 |
dh_link |
dh_link |
98 |
dh_strip |
# dh_strip |
99 |
dh_compress |
dh_compress |
100 |
dh_fixperms |
dh_fixperms |
101 |
# dh_perl |
# dh_perl |
102 |
# dh_python |
# dh_python |
103 |
# dh_makeshlibs |
dh_makeshlibs -pliblinuxsampler |
104 |
dh_installdeb |
dh_installdeb -a |
105 |
dh_shlibdeps # -L linuxsampler -l debian/linuxsampler/usr/lib/linuxsampler |
dh_shlibdeps # -L linuxsampler -l debian/linuxsampler/usr/lib/linuxsampler |
106 |
dh_gencontrol |
dh_shlibdeps -pliblinuxsampler |
107 |
dh_md5sums |
dh_gencontrol -a |
108 |
dh_builddeb |
dh_md5sums -a |
109 |
|
dh_builddeb -a |
110 |
|
|
111 |
binary: binary-indep binary-arch |
binary: binary-indep binary-arch |
112 |
.PHONY: build clean binary-indep binary-arch binary install configure |
.PHONY: build clean binary-indep binary-arch binary install configure |