summaryrefslogtreecommitdiff
path: root/patches/source/gcc/fastjar-patches/1004-fastjar-man.patch
blob: 34bf704dbbc22052c75a673fb30281cba474a2f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
2010-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* Makefile.am (POD2MAN): Provide --date from ChangeLog.
	* Makefile.in: Regenerate.

--- fastjar-0.97/Makefile.am.jj	2008-10-16 04:24:55.000000000 -0400
+++ fastjar-0.97/Makefile.am	2010-06-21 09:29:41.021398000 -0400
@@ -39,7 +39,7 @@ EXTRA_DIST = \
 	texi2pod.pl
 
 TEXI2POD = perl $(srcdir)/texi2pod.pl
-POD2MAN = pod2man --center="GNU" --release=@VERSION@
+POD2MAN = pod2man --center="GNU" --release=@VERSION@ --date=$(shell sed -n '1s/ .*//p' <$(srcdir)/ChangeLog)
 
 .pod.1:
 	-($(POD2MAN) --section=1 $< > $(@).T$$$$ && \
--- fastjar-0.97/Makefile.in.jj	2008-10-16 04:15:16.000000000 -0400
+++ fastjar-0.97/Makefile.in	2010-06-21 09:30:15.882810000 -0400
@@ -515,7 +515,7 @@ EXTRA_DIST = \
 	texi2pod.pl
 
 TEXI2POD = perl $(srcdir)/texi2pod.pl
-POD2MAN = pod2man --center="GNU" --release=@VERSION@
+POD2MAN = pod2man --center="GNU" --release=@VERSION@ --date=$(shell sed -n '1s/ .*//p' <$(srcdir)/ChangeLog)
 
 #SPLINT_FLAGS=-I . -I $(srcdir)/lib -I $(srcdir) -DHAVE_CONFIG_H +posixlib +weak
 SPLINT_FLAGS = -I . -I $(srcdir)/lib -I $(srcdir) -DHAVE_CONFIG_H -DPRIx32= -warnposix +weak