Last change
on this file since 2226 was 1956, checked in by Bruno Cornec, 10 years ago |
- - All binaries for mindi are now placed under /usr/sbin on Debian distributions
|
-
Property svn:executable
set to
*
|
File size:
1.2 KB
|
Line | |
---|
1 | #!/usr/bin/make -f
|
---|
2 | # Sample debian/rules that uses debhelper.
|
---|
3 | # GNU copyright 1997 to 1999 by Joey Hess.
|
---|
4 |
|
---|
5 | # Uncomment this to turn on verbose mode.
|
---|
6 | #export DH_VERBOSE=1
|
---|
7 |
|
---|
8 | # Define package name for a one-stop change.
|
---|
9 | PACKAGE_NAME = PBPKG
|
---|
10 |
|
---|
11 | # PREFIX for installation
|
---|
12 | export HEAD=$(CURDIR)/debian/$(PACKAGE_NAME)
|
---|
13 | export PREFIX=/usr
|
---|
14 | export CONFDIR=/etc
|
---|
15 | export SBINDIR=$(PREFIX)/sbin
|
---|
16 | export MANDIR=$(PREFIX)/share/man
|
---|
17 | #export DOCDIR=$(PREFIX)/share/doc
|
---|
18 | export LIBDIR=$(PREFIX)/lib
|
---|
19 | export CACHEDIR=/var/cache/$(PACKAGE_NAME)
|
---|
20 | export PKGBUILDMINDI=true
|
---|
21 |
|
---|
22 | configure:
|
---|
23 | # Nothing to configure in this package.
|
---|
24 |
|
---|
25 | build:
|
---|
26 | # Nothing to build in this package.
|
---|
27 |
|
---|
28 | clean:
|
---|
29 | dh_testdir
|
---|
30 | dh_testroot
|
---|
31 | dh_clean
|
---|
32 |
|
---|
33 | install:
|
---|
34 | dh_testdir
|
---|
35 | dh_testroot
|
---|
36 | dh_clean -k
|
---|
37 | dh_installdirs
|
---|
38 | # Build the installation tree:
|
---|
39 | ./install.sh
|
---|
40 |
|
---|
41 | # Build architecture-independent files here.
|
---|
42 | binary-indep: install
|
---|
43 | # We have nothing to do by default.
|
---|
44 |
|
---|
45 | # Build architecture-dependent files here.
|
---|
46 | binary-arch: install
|
---|
47 | dh_testdir
|
---|
48 | dh_testroot
|
---|
49 | dh_installchangelogs ChangeLog
|
---|
50 | dh_installdocs
|
---|
51 | dh_installexamples
|
---|
52 | dh_link
|
---|
53 | dh_strip
|
---|
54 | dh_compress
|
---|
55 | dh_fixperms
|
---|
56 | dh_installdeb
|
---|
57 | dh_gencontrol
|
---|
58 | dh_md5sums
|
---|
59 | dh_builddeb
|
---|
60 |
|
---|
61 | binary: binary-indep binary-arch
|
---|
62 | .PHONY: build clean binary-indep binary-arch binary install configure
|
---|
Note:
See
TracBrowser
for help on using the repository browser.