[libdogleg] 03/03: Moved earlier Makefile change to a quilt patch

Dima Kogan dima at secretsauce.net
Mon Jan 13 07:29:22 UTC 2014


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

dkogan-guest pushed a commit to annotated tag debian/0.08-2
in repository libdogleg.

commit 508a6cd4f886a228ad0a05a05f155d8d1b60338f
Author: Dima Kogan <dima at secretsauce.net>
Date:   Sun Jan 12 23:24:51 2014 -0800

    Moved earlier Makefile change to a quilt patch
---
 Makefile                                           |  6 ++---
 ...manpage-no-longer-has-date-for-multi-arch.patch | 26 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 3 files changed, 29 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index 41cd263..3696ca1 100644
--- a/Makefile
+++ b/Makefile
@@ -60,11 +60,9 @@ $(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 --date=" " --center="libdogleg: Powell's dogleg method" --name=LIBDOGLEG --release="libdogleg $(VERSION)" --section=$(MAN_SECTION) $^ | grep -v 'Automatically generated.*Pod::Man' > $@
+	pod2man --center="libdogleg: Powell's dogleg method" --name=LIBDOGLEG --release="libdogleg $(VERSION)" --section=$(MAN_SECTION) $^ $@
+
 
 sample: sample.o libdogleg.a
 	$(CC) $^ $(LDLIBS) -o $@
diff --git a/debian/patches/0001-manpage-no-longer-has-date-for-multi-arch.patch b/debian/patches/0001-manpage-no-longer-has-date-for-multi-arch.patch
new file mode 100644
index 0000000..7097504
--- /dev/null
+++ b/debian/patches/0001-manpage-no-longer-has-date-for-multi-arch.patch
@@ -0,0 +1,26 @@
+From: Dima Kogan <dima at secretsauce.net>
+Date: Sun, 12 Jan 2014 23:26:09 -0800
+Subject: 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 $@
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..4697e37
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-manpage-no-longer-has-date-for-multi-arch.patch

-- 
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