~ubuntu-branches/ubuntu/edgy/ax25-apps/edgy

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Patrick Ouellette
  • Date: 2002-03-21 16:43:25 UTC
  • Revision ID: james.westby@ubuntu.com-20020321164325-8rb1xrumtq9y7dge
Tags: 0.0.6-1
* new upstream release
* added Russian translation for debconf (closes: #137621)
  (Thanks Ilgiz Kalmetev <ilgiz@bashtelecom.ru>)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
# Sample debian/rules that uses debhelper.
 
3
# This file is public domain software, originally written 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.
 
9
export DH_COMPAT=2
 
10
 
 
11
build: build-stamp
 
12
build-stamp:
 
13
        dh_testdir
 
14
 
 
15
        # Add here commands to compile the package.
 
16
        ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --mandir=/usr/share/man
 
17
        $(MAKE)
 
18
 
 
19
        touch build-stamp
 
20
 
 
21
clean:
 
22
        dh_testdir
 
23
        dh_testroot
 
24
        rm -f build-stamp
 
25
 
 
26
        # Add here commands to clean up after the build process.
 
27
        -$(MAKE) distclean
 
28
 
 
29
        dh_clean
 
30
 
 
31
install: build
 
32
        dh_testdir
 
33
        dh_testroot
 
34
        dh_clean -k
 
35
        dh_installdirs
 
36
 
 
37
        # Add here commands to install the package into debian/<packagename>
 
38
        $(MAKE) install DESTDIR=$(CURDIR)/debian/ax25-apps
 
39
        $(MAKE) installconf DESTDIR=$(CURDIR)/debian/ax25-apps
 
40
 
 
41
# Build architecture-independent files here.
 
42
binary-indep: build install
 
43
# We have nothing to do by default.
 
44
 
 
45
# Build architecture-dependent files here.
 
46
binary-arch: build install
 
47
#       dh_testversion 2
 
48
        dh_testdir
 
49
        dh_testroot
 
50
        dh_installdebconf       
 
51
        dh_installdocs
 
52
# remove extra copying file from doc dir for lintian
 
53
        rm $(CURDIR)/debian/ax25-apps/usr/share/doc/ax25-apps/COPYING.ax25ipd
 
54
        dh_installexamples
 
55
        dh_installmenu
 
56
#       dh_installlogrotate
 
57
#       dh_installemacsen
 
58
#       dh_installpam
 
59
#       dh_installmime
 
60
#       dh_installinit
 
61
        #dh_installcron
 
62
        dh_installmanpages
 
63
        #dh_installinfo
 
64
        dh_undocumented
 
65
        dh_installchangelogs ChangeLog
 
66
        dh_link
 
67
        dh_strip
 
68
        dh_compress
 
69
        dh_fixperms
 
70
        # You may want to make some executables suid here.
 
71
#       dh_suidregister
 
72
#       dh_makeshlibs
 
73
        dh_installdeb
 
74
#       dh_perl
 
75
        dh_shlibdeps
 
76
        dh_gencontrol
 
77
        dh_md5sums
 
78
        dh_builddeb 
 
79
 
 
80
binary: binary-indep binary-arch
 
81
.PHONY: build clean binary-indep binary-arch binary install