From: Adeodato Simó Date: Sat, 15 Jul 2006 00:21:35 +0000 (+0200) Subject: Fix build with top_srcdir != top_builddir. X-Git-Tag: 1.5.12-1~5 X-Git-Url: https://git.llucax.com/software/mutt-debian.git/commitdiff_plain/37d9596b014d89e8ce4a8656a7a48d046bd88e2c?ds=inline;hp=-c Fix build with top_srcdir != top_builddir. --- 37d9596b014d89e8ce4a8656a7a48d046bd88e2c diff --git a/debian/patches/misc/fix-reldate-location.diff b/debian/patches/misc/fix-reldate-location.diff new file mode 100644 index 0000000..fe3fe58 --- /dev/null +++ b/debian/patches/misc/fix-reldate-location.diff @@ -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 diff --git a/debian/patches/series b/debian/patches/series index 4662794..89bf37c 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -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/fix-reldate-location.diff -p0 # not-applied/patch-1.5.8.hr.sensible_browser_position.3