[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#424212: Possible patch



Hi,

The problem is that debian/rules is overwriting the main Makefile in
the first build with the Makefile that is contained in
fhs-2.3-source.tar.gz. Probably, this file was supossed to uncompress
in a directory, but it's not doing that. Of course, the second time
that you try to build, the Makefile is the wrong one.

I've done a patch, but it's just one line, so feel free to send it to /dev/null

Regards,
Gerard
--- debian-policy-3.7.2.2/debian/rules	2006-10-03 01:36:50.000000000 +0300
+++ debian-policy-3.7.2.3/debian/rules	2007-06-29 14:07:49.000000000 +0300
@@ -90,7 +90,7 @@
 		$(SGML_FILES:=.html.tar.gz) \
 		$(SGML_FILES:=.txt.gz) \
 		policy.ps.gz policy.pdf.gz
-	tar -zxf $(FHS_ARCHIVE)
+	mkdir fhs && cd fhs && tar -zxf ../$(FHS_ARCHIVE) && cd ..
 	# Need to use a patched tmac.m macro file if we're using a pre-1.16
 	# groff; version 1.16 is apparently fixed
 	if dpkg --compare-versions "$(shell dpkg -s groff | sed -n -e 's/Version: //p')" lt 1.16; then \

Reply to: