1
From: Dima Kogan <dima@secretsauce.net>
2
Date: Sun, 12 Jan 2014 23:26:09 -0800
3
Subject: manpage no longer has date (for multi-arch)
7
1 file changed, 4 insertions(+), 2 deletions(-)
9
diff --git a/Makefile b/Makefile
10
index 3696ca1..41cd263 100644
13
@@ -60,9 +60,11 @@ $(TARGET_SO_SONAME) $(TARGET_SO_BARE): $(TARGET_SO_FULL)
15
$(CC) $(CPPFLAGS) -fPIC $(CFLAGS) -c -o $@ $<
17
+# I want multi-arch:same, so I remove the date and the "automatically-generated"
18
+# line. This makes sure that multiple builds of the manpage on different arches
19
+# will produce a bit-identical the same result
20
$(MAN_TARGET): README.pod
21
- pod2man --center="libdogleg: Powell's dogleg method" --name=LIBDOGLEG --release="libdogleg $(VERSION)" --section=$(MAN_SECTION) $^ $@
23
+ pod2man --date=" " --center="libdogleg: Powell's dogleg method" --name=LIBDOGLEG --release="libdogleg $(VERSION)" --section=$(MAN_SECTION) $^ | grep -v 'Automatically generated.*Pod::Man' > $@
25
sample: sample.o libdogleg.a
26
$(CC) $^ $(LDLIBS) -o $@