~ubuntu-branches/ubuntu/precise/puredata/precise

« back to all changes in this revision

Viewing changes to debian/rules.old

  • Committer: Bazaar Package Importer
  • Author(s): Guenter Geiger (Debian/GNU)
  • Date: 2005-04-08 16:21:52 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 hoary)
  • Revision ID: james.westby@ubuntu.com-20050408162152-88qyy276gx2qmx35
Tags: 0.38.4+amidi-3
* Incorporated mlock fix for 2.6 kernels
* moved allocation/deallocation out of midi poll() call for ALSA (this 
  cause problems on 2.6 kernel series when using -rt)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f 
 
2
#-*- makefile -*-
 
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.
 
6
 
 
7
# Uncomment this to turn on verbose mode.
 
8
#export DH_VERBOSE=1
 
9
 
 
10
build: build-stamp
 
11
build-stamp:
 
12
        dh_testdir
 
13
 
 
14
        # Add here commands to compile the package.
 
15
        chmod a+x src/configure
 
16
        cd src && ./configure --prefix=/usr --enable-jack --enable-alsa
 
17
        cd src && $(MAKE) 
 
18
 
 
19
        touch build-stamp
 
20
 
 
21
clean:
 
22
        dh_testdir
 
23
        dh_testroot
 
24
        rm -f build-stamp install-stamp
 
25
 
 
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
 
30
        -rm src/makefile
 
31
        -rm -r `find . -name CVS`
 
32
        -rm `find . -name "*.pd_linux*"`
 
33
        dh_clean
 
34
 
 
35
install: install-stamp
 
36
install-stamp: build-stamp
 
37
        dh_testdir
 
38
        dh_testroot
 
39
        dh_clean -k
 
40
        dh_installdirs
 
41
 
 
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
 
45
        touch install-stamp
 
46
 
 
47
# Build architecture-independent files here.
 
48
binary-indep: build install
 
49
# We have nothing to do by default.
 
50
 
 
51
# Build architecture-dependent files here.
 
52
binary-arch: build install
 
53
#       dh_testversion
 
54
        dh_testdir
 
55
        dh_testroot
 
56
        dh_installdocs
 
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
 
60
#       dh_dhelp
 
61
        dh_installexamples
 
62
        dh_installmenu
 
63
#       dh_installemacsen
 
64
#       dh_installinit
 
65
        dh_installcron
 
66
        dh_installman man/pd.1 man/pdsend.1  man/pdreceive.1
 
67
#       dh_undocumented
 
68
        dh_installchangelogs 
 
69
#       dh_link
 
70
        dh_strip 
 
71
        dh_compress
 
72
        dh_fixperms
 
73
        # You may want to make some executables suid here
 
74
#       dh_makeshlibs
 
75
        dh_installdeb
 
76
#       dh_perl 
 
77
        dh_shlibdeps
 
78
        dh_gencontrol
 
79
        dh_md5sums
 
80
        dh_builddeb
 
81
 
 
82
source diff:                                                                  
 
83
        @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
 
84
 
 
85
binary: binary-indep binary-arch
 
86
.PHONY: build clean binary-indep binary-arch binary