2005-10-19 Olivier Gournet <gourne_o(a)lrde.epita.fr>
* debian/Makefile.am: Fix deb build for srcdir != builddir.
Index: debian/Makefile.am
===================================================================
--- debian/Makefile.am (revision 153)
+++ debian/Makefile.am (working copy)
@@ -15,11 +15,11 @@
$(DIST_ARCHIVE) \
$(PACKAGE)_$(VERSION)*.{changes,deb,dsc,tar.gz}
-$(top_srcdir)/$(DIST_ARCHIVE):
- $(MAKE) -C $(top_srcdir) dist
+$(top_builddir)/$(DIST_ARCHIVE):
+ $(MAKE) -C $(top_builddir) dist
-deb: $(top_srcdir)/$(DIST_ARCHIVE)
- rm -rf $(distdir) && tar xvzf $(top_srcdir)/$(DIST_ARCHIVE)
+deb: $(top_builddir)/$(DIST_ARCHIVE)
+ rm -rf $(distdir) && tar xvzf $<
mv $(distdir)/debian/changelog-deb $(distdir)/debian/changelog
V=`echo '$(DEB_VERSION)' | sed 's/$$Rev: \([0-9]*\) /\1/'`
&& \
sed -i "s/^$(PACKAGE) (.*) unstable;/$(PACKAGE) ($$V) unstable;/" \
Show replies by date