-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Finally switch to dh v7 style debian/rules file
- Loading branch information
Showing
2 changed files
with
11 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,15 @@ | ||
#!/usr/bin/make -f | ||
# Sample debian/rules that uses debhelper. | ||
# GNU copyright 1997 to 1999 by Joey Hess. | ||
|
||
# Uncomment this to turn on verbose mode. | ||
#export DH_VERBOSE=1 | ||
|
||
PODDOC=debget dglob dgrep dpigs | ||
|
||
build: build-arch build-indep | ||
build-arch: build-stamp | ||
build-indep: build-stamp | ||
build-stamp: | ||
dh_testdir | ||
%: | ||
dh $@ | ||
|
||
override_dh_auto_install: | ||
for prog in $(PODDOC); do pod2man -c "Debian-goodies documentation" $$prog.pod > $$prog.1; done | ||
|
||
touch build-stamp | ||
|
||
clean: | ||
dh_testdir | ||
dh_testroot | ||
override_dh_auto_clean: | ||
for prog in $(PODDOC); do rm -f $$prog.1; done | ||
|
||
dh_clean | ||
|
||
install: build | ||
dh_testdir | ||
dh_testroot | ||
dh_prep | ||
dh_installdirs | ||
dh_install | ||
|
||
# Build architecture-dependent files here. | ||
# We have nothing to do by default. | ||
binary-arch: build install | ||
|
||
# Build architecture-independent files here. | ||
binary-indep: build install | ||
dh_testdir | ||
dh_testroot | ||
dh_installdocs | ||
dh_installman | ||
# dh_undocumented | ||
dh_installchangelogs | ||
dh_link | ||
dh_compress | ||
dh_fixperms | ||
dh_installdeb | ||
dh_gencontrol | ||
dh_md5sums | ||
dh_builddeb | ||
|
||
binary: binary-indep binary-arch | ||
.PHONY: build clean binary-indep binary-arch binary install configure |