/[vz-tools]/trunk/debian/rules
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log


Revision 48 - (show annotations)
Wed Aug 13 10:40:28 2008 UTC (14 years, 5 months ago) by dpavlin
File size: 895 byte(s)
Debian packaging from Josip Rodin
1 #!/usr/bin/make -f
2 # This file is public domain software, originally written by Joey Hess.
3
4 # Uncomment this to turn on verbose mode.
5 #export DH_VERBOSE=1
6
7 build:
8 perl Makefile.PL
9
10 clean:
11 dh_testdir
12 dh_testroot
13 dh_clean
14 [ ! -f Makefile ] || $(MAKE) clean
15
16 install: build
17 dh_testdir
18 dh_testroot
19 dh_clean -k
20 dh_installdirs usr/local/sbin
21 $(MAKE) install DESTDIR=debian/vz-tools
22 for i in debian/vz-tools/usr/local/share/perl/5.8.8/VZ/*; do \
23 bn=$$(basename $$i); \
24 ln -s ../share/perl/5.8.8/VZ/$$bn debian/vz-tools/usr/local/sbin/$$bn; \
25 done
26
27 binary-indep: build install
28 dh_testdir
29 dh_testroot
30 dh_install
31 dh_installchangelogs
32 dh_installdocs
33 dh_link
34 dh_compress
35 dh_fixperms
36 dh_installdeb
37 dh_gencontrol
38 dh_md5sums
39 dh_builddeb
40
41 binary-arch: build install
42
43 binary: binary-indep binary-arch
44 .PHONY: build clean binary-indep binary-arch binary install

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26