Use dh_install/dh_link to install all the scripts
Axel Beckert
10 years ago
7 | 7 |
* Bump debhelper compatibility to 7 to be able to use some more recent
|
8 | 8 |
features. Update versioned debhelper build-dependency accordingly.
|
9 | 9 |
* Use debian/links instead of calling ln manually in debian/rules
|
|
10 |
* Use dh_install/dh_link to install all the scripts
|
10 | 11 |
* Fix lintian warning dh-clean-k-is-deprecated and use dh_prep
|
11 | 12 |
* Apply wrap-and-sort
|
12 | 13 |
|
|
0 |
dgrep dglob debget dpigs debman popbugs which-pkg-broke dhomepage debmany/debmany usr/bin
|
|
1 |
checkrestart usr/sbin
|
|
2 |
|
0 | 3 |
bash_completion/debian-goodies.pkgnames etc/bash_completion.d
|
1 | 4 |
debmany/bash_completion/debmany etc/bash_completion.d
|
|
0 |
usr/bin/dgrep usr/bin/degrep
|
|
1 |
usr/bin/dgrep usr/bin/dfgrep
|
|
2 |
usr/bin/dgrep usr/bin/dzgrep
|
|
3 |
|
0 | 4 |
usr/share/man/man1/dgrep.1.gz usr/share/man/man1/degrep.1.gz
|
1 | 5 |
usr/share/man/man1/dgrep.1.gz usr/share/man/man1/dfgrep.1.gz
|
2 | 6 |
usr/share/man/man1/dgrep.1.gz usr/share/man/man1/dzgrep.1.gz
|
29 | 29 |
dh_testroot
|
30 | 30 |
dh_prep
|
31 | 31 |
dh_installdirs
|
32 | |
|
33 | |
# Add here commands to install the package into debian/debian-goodies.
|
34 | |
install -d $(CURDIR)/debian/debian-goodies/usr/bin
|
35 | |
install -d $(CURDIR)/debian/debian-goodies/usr/sbin
|
36 | |
install -m 755 dgrep dglob debget dpigs debman popbugs which-pkg-broke \
|
37 | |
dhomepage $(CURDIR)/debian/debian-goodies/usr/bin
|
38 | |
install -m 755 checkrestart \
|
39 | |
$(CURDIR)/debian/debian-goodies/usr/sbin
|
40 | |
for grepname in dzgrep degrep dfgrep; do \
|
41 | |
ln -s dgrep $(CURDIR)/debian/debian-goodies/usr/bin/$$grepname; \
|
42 | |
done
|
43 | |
install -m 755 debmany/debmany \
|
44 | |
$(CURDIR)/debian/debian-goodies/usr/bin
|
|
32 |
dh_install
|
45 | 33 |
|
46 | 34 |
# Build architecture-dependent files here.
|
47 | 35 |
# We have nothing to do by default.
|
|
57 | 45 |
debmany/man/debmany.1 debmany/man/debmany.de.1
|
58 | 46 |
# dh_undocumented
|
59 | 47 |
dh_installchangelogs
|
60 | |
dh_install
|
61 | 48 |
dh_link
|
62 | 49 |
dh_compress
|
63 | 50 |
dh_fixperms
|