Imported Debian version 1.1.7
[debian/ipip] / debian / rules
1 #!/usr/bin/make -f
2 # rules file for the ipip package, requires debhelper
3 # copyright 1998 by Bdale Garbee, distributed under the terms of the GPL
4
5 # export DH_VERBOSE=1
6
7 build: build-stamp
8 build-stamp:
9         dh_testdir
10         $(MAKE)
11         touch build-stamp
12
13 clean:
14         dh_testdir
15         dh_testroot
16         rm -f build-stamp
17         $(MAKE) clean
18         dh_clean
19
20 # Build architecture-independent files here.
21 binary-indep: build
22
23 # Build architecture-dependent files here.
24 binary-arch: build
25         dh_testdir
26         dh_testroot
27         dh_clean -k
28         dh_installdirs
29
30         cp ipip debian/ipip/usr/sbin
31         cp debian/ipip.config debian/ipip/etc/ipip/config
32         cp debian/ipip.routes debian/ipip/etc/ipip/routes
33
34         dh_installdocs
35         dh_installexamples samples/*
36         dh_installmenu
37         dh_installinit
38         dh_installcron
39         dh_installman ipip.1
40         dh_installchangelogs
41         dh_strip
42         dh_compress
43         dh_fixperms
44         dh_installdeb
45         dh_shlibdeps
46         dh_gencontrol
47         dh_md5sums
48         dh_builddeb
49
50 source diff:                                                                  
51         @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
52
53 binary: binary-indep binary-arch
54 .PHONY: build clean binary-indep binary-arch binary