root/trunk/digitalme/debian/debian.rules

Revision 1942, 1.6 kB (checked in by ahodgkinson, 2 years ago)

digitalme: Added Debian package files provided by Quin.

  • Property svn:eol-style set to native
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# This is the debhelper compatibility version to use.
9export DH_COMPAT=4
10
11CFLAGS = -g
12ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
13CFLAGS += -O0
14else
15CFLAGS += -O2
16endif
17
18build: build-stamp
19build-stamp:
20        dh_testdir
21
22        # Add here commands to compile the package.
23        ./configure
24        make all
25        # --- end custom part for compiling
26
27        touch build-stamp
28
29clean:
30        dh_testdir
31        dh_testroot
32        rm -f build-stamp
33
34        # Add here commands to clean up after the build process.
35       
36        # --- end custom part for cleaning up
37
38        dh_clean
39
40install: build
41        dh_testdir
42        dh_testroot
43        dh_clean -k
44        dh_installdirs
45
46        # Add here commands to install the package
47        # The DESTDIR Has To Be Exactly /usr/src/packages/BUILD/debian/debian/<nameOfPackage>
48        make install DESTDIR=/usr/src/packages/BUILD/debian/digitalme
49        # --- end custom part for installing
50
51# Build architecture-independent files here.
52binary-indep: build install
53        # We have nothing to do by default.
54
55# Build architecture-dependent files here.
56binary-arch: build install
57        dh_testdir
58        dh_testroot
59#       dh_installdebconf
60        dh_installdocs
61        dh_installexamples
62        dh_installmenu
63#       dh_installlogrotate
64#       dh_installemacsen
65#       dh_installpam
66#       dh_installmime
67#       dh_installinit
68        dh_installcron
69        dh_installman
70        dh_installinfo
71#       dh_undocumented
72        dh_installchangelogs
73        dh_link
74        dh_strip
75        dh_compress
76        dh_fixperms
77#       dh_makeshlibs
78        dh_installdeb
79#       dh_perl
80#       dh_shlibdeps
81        dh_gencontrol
82        dh_md5sums
83        dh_builddeb
84
85binary: binary-indep binary-arch
86.PHONY: build clean binary-indep binary-arch binary install
Note: See TracBrowser for help on using the browser.