From 37d9596b014d89e8ce4a8656a7a48d046bd88e2c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Adeodato=20Sim=C3=B3?= Date: Sat, 15 Jul 2006 02:21:35 +0200 Subject: [PATCH] Fix build with top_srcdir != top_builddir. --- debian/patches/misc/fix-reldate-location.diff | 14 ++++++++++++++ debian/patches/series | 1 + 2 files changed, 15 insertions(+) create mode 100644 debian/patches/misc/fix-reldate-location.diff 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 -- 2.43.0