]> git.llucax.com Git - software/mutt-debian.git/commitdiff
Fix build with top_srcdir != top_builddir.
authorAdeodato Simó <dato@net.com.org.es>
Sat, 15 Jul 2006 00:21:35 +0000 (02:21 +0200)
committerAdeodato Simó <dato@net.com.org.es>
Sat, 15 Jul 2006 00:21:35 +0000 (02:21 +0200)
debian/patches/misc/fix-reldate-location.diff [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/misc/fix-reldate-location.diff b/debian/patches/misc/fix-reldate-location.diff
new file mode 100644 (file)
index 0000000..fe3fe58
--- /dev/null
@@ -0,0 +1,14 @@
+--- doc/Makefile.in.orig
++++ doc/Makefile.in
+@@ -182,9 +182,9 @@
+       $(EDIT) $(srcdir)/mutt.man > $@
+ stamp-doc-xml: $(top_srcdir)/makedoc.c $(top_srcdir)/init.h manual.xml.head manual.xml.tail \
+-               $(top_srcdir)/VERSION $(top_srcdir)/reldate.h
++               $(top_srcdir)/VERSION $(top_builddir)/reldate.h
+       $(MAKE) ../makedoc$(EXEEXT)
+-      ( sed -e "s/@VERSION\@/`cat $(top_srcdir)/VERSION` (`cut -d\\" -f2 $(top_srcdir)/reldate.h`)/" $(srcdir)/manual.xml.head ;\
++      ( sed -e "s/@VERSION\@/`cat $(top_srcdir)/VERSION` (`cut -d\\" -f2 $(top_builddir)/reldate.h`)/" $(srcdir)/manual.xml.head ;\
+         $(MAKEDOC_CPP) $(top_srcdir)/init.h | ../makedoc -s ) |      \
+               cat - $(srcdir)/manual.xml.tail > manual.xml
+       touch stamp-doc-xml
index 4662794ac5cc8faf11bfa99aa86401a55c1dd7a6..89bf37c51ba27f55a2a1e45dca697f80516b777d 100644 (file)
@@ -18,5 +18,6 @@ debian-specific/dont_document_not_present_features.diff -p0
 
 misc/define-pgp_getkeys_command.diff
 misc/autotools-update.diff -p0
 
 misc/define-pgp_getkeys_command.diff
 misc/autotools-update.diff -p0
+misc/fix-reldate-location.diff -p0
 
 # not-applied/patch-1.5.8.hr.sensible_browser_position.3
 
 # not-applied/patch-1.5.8.hr.sensible_browser_position.3