[equivs] 24/36: Move man page generation from debian/rules to a new Makefile
Axel Beckert
abe at deuxchevaux.org
Fri Jul 28 23:04:37 UTC 2017
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository equivs.
commit 4edbff59d46e0ad2d02d5be7a933ab770cc5cc37
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Tue Jul 18 02:05:28 2017 +0200
Move man page generation from debian/rules to a new Makefile
---
debian/rules => Makefile | 9 +++------
debian/changelog | 3 ++-
debian/clean | 1 -
debian/rules | 7 -------
4 files changed, 5 insertions(+), 15 deletions(-)
diff --git a/debian/rules b/Makefile
old mode 100755
new mode 100644
similarity index 74%
copy from debian/rules
copy to Makefile
index f95b91e..5e38fb5
--- a/debian/rules
+++ b/Makefile
@@ -1,6 +1,3 @@
-#!/usr/bin/make -f
-
-#export DH_VERBOSE=1
MANPAGES := equivs-control.1 equivs-build.1
BUILD_DATE = $(shell LC_ALL=C date -u +'%d %b %Y' -d "@$(SOURCE_DATE_EPOCH)")
@@ -8,7 +5,7 @@ BUILD_DATE = $(shell LC_ALL=C date -u +'%d %b %Y' -d "@$(SOURCE_DATE_EPOCH)")
pod2man --section=1 --release="$(BUILD_DATE)" \
--center="Debian/GNU" --date=' ' $< > $@
-%:
- dh $@
+all: $(MANPAGES)
-build-indep: $(MANPAGES)
+clean:
+ rm -f $(MANPAGES)
diff --git a/debian/changelog b/debian/changelog
index fc752cc..36eebef 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,12 +6,13 @@ equivs (2.0.11) UNRELEASED; urgency=medium
+ Add a .gitignore file.
* Apply wrap-and-sort.
* Switch debian/rules to minimal dh v7 style.
- + Replace override_dh_auto_{install,clean} with debian/{clean,install}
+ + Use debian/install instead calling cp inside debian/rules.
+ Remove obsolete variables.
+ Replace usage of dpkg-parsechangelog with $SOURCE_DATE_EPOCH. Fixes
lintian warning debian-rules-parses-dpkg-parsechangelog.
* Rename debian/equivs.* to debian/*.
* Move documentation files from debian/*.pod to *.pod.
+ * Move man page generation from debian/rules to a new Makefile.
* Declare compliance with Debian Policy 4.0.0. (No changes needed.)
* Bump debhelper compatibility to 10.
+ Update versioned debhelper build-dependency accordingly.
diff --git a/debian/clean b/debian/clean
deleted file mode 120000
index a5f9886..0000000
--- a/debian/clean
+++ /dev/null
@@ -1 +0,0 @@
-manpages
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
index f95b91e..bcf2006 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,6 @@
#!/usr/bin/make -f
#export DH_VERBOSE=1
-MANPAGES := equivs-control.1 equivs-build.1
-BUILD_DATE = $(shell LC_ALL=C date -u +'%d %b %Y' -d "@$(SOURCE_DATE_EPOCH)")
-
-%.1: %.pod
- pod2man --section=1 --release="$(BUILD_DATE)" \
- --center="Debian/GNU" --date=' ' $< > $@
-
%:
dh $@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/equivs.git
More information about the Pkg-perl-cvs-commits
mailing list