3
# Made with the aid of dh_make, by Craig Small
4
# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
5
# Some lines taken from debmake, by Christoph Lameter.
7
# Uncomment this to turn on verbose mode.
14
# Add here commands to compile the package.
15
chmod a+x src/configure
16
cd src && ./configure --prefix=/usr --enable-jack --enable-alsa
24
rm -f build-stamp install-stamp
26
# Add here commands to clean up after the build process.
27
chmod a+x src/configure
28
-cd src && ./configure
29
-cd src && $(MAKE) distclean
31
-rm -r `find . -name CVS`
32
-rm `find . -name "*.pd_linux*"`
35
install: install-stamp
36
install-stamp: build-stamp
42
# Add here commands to install the package into debian/tmp.
43
cd src && $(MAKE) install prefix=/usr/ DESTDIR=`pwd`/../debian/tmp
44
-rm -r `pwd`/debian/tmp/usr/man
47
# Build architecture-independent files here.
48
binary-indep: build install
49
# We have nothing to do by default.
51
# Build architecture-dependent files here.
52
binary-arch: build install
57
-mv `pwd`/debian/tmp/usr/lib/pd/doc/1.manual \
58
`pwd`/debian/tmp/usr/share/doc/puredata/
59
ln -s /usr/share/doc/puredata/1.manual `pwd`/debian/tmp/usr/lib/pd/doc/1.manual
66
dh_installman man/pd.1 man/pdsend.1 man/pdreceive.1
73
# You may want to make some executables suid here
83
@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
85
binary: binary-indep binary-arch
86
.PHONY: build clean binary-indep binary-arch binary