[libdogleg] 02/02: manpage no longer has date (for multi-arch)

Dima Kogan dima at secretsauce.net
Tue Aug 25 04:41:46 UTC 2015


This is an automated email from the git hooks/post-receive script.

dkogan-guest pushed a commit to branch patch-queue/debian
in repository libdogleg.

commit ffb49a1eaca5c34e0eaed1ea2672e0222eb9503d
Author: Dima Kogan <dima at secretsauce.net>
Date:   Sun Jan 12 23:26:09 2014 -0800

    manpage no longer has date (for multi-arch)
---
 Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 3696ca1..41cd263 100644
--- a/Makefile
+++ b/Makefile
@@ -60,9 +60,11 @@ $(TARGET_SO_SONAME) $(TARGET_SO_BARE): $(TARGET_SO_FULL)
 %-pic.o: %.c
 	$(CC) $(CPPFLAGS) -fPIC $(CFLAGS) -c -o $@ $<
 
+# I want multi-arch:same, so I remove the date and the "automatically-generated"
+# line. This makes sure that multiple builds of the manpage on different arches
+# will produce a bit-identical the same result
 $(MAN_TARGET): README.pod
-	pod2man --center="libdogleg: Powell's dogleg method" --name=LIBDOGLEG --release="libdogleg $(VERSION)" --section=$(MAN_SECTION) $^ $@
-
+	pod2man --date=" " --center="libdogleg: Powell's dogleg method" --name=LIBDOGLEG --release="libdogleg $(VERSION)" --section=$(MAN_SECTION) $^ | grep -v 'Automatically generated.*Pod::Man' > $@
 
 sample: sample.o libdogleg.a
 	$(CC) $^ $(LDLIBS) -o $@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/libdogleg.git



More information about the debian-science-commits mailing list