source: ProjectBuilder/projects/mondorescue/pbconf/branches/3.2/mindi/deb/rules@ 1956

Last change on this file since 1956 was 1956, checked in by Bruno Cornec, 9 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.
9PACKAGE_NAME = PBPKG
10
11# PREFIX for installation
12export HEAD=$(CURDIR)/debian/$(PACKAGE_NAME)
13export PREFIX=/usr
14export CONFDIR=/etc
15export SBINDIR=$(PREFIX)/sbin
16export MANDIR=$(PREFIX)/share/man
17#export DOCDIR=$(PREFIX)/share/doc
18export LIBDIR=$(PREFIX)/lib
19export CACHEDIR=/var/cache/$(PACKAGE_NAME)
20export PKGBUILDMINDI=true
21
22configure:
23# Nothing to configure in this package.
24
25build:
26# Nothing to build in this package.
27
28clean:
29 dh_testdir
30 dh_testroot
31 dh_clean
32
33install:
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.
42binary-indep: install
43# We have nothing to do by default.
44
45# Build architecture-dependent files here.
46binary-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
61binary: 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.