Control: tags -1 patch

Hi Rhonda,

This happens because configure is saved to configure.save and then
moved back again in the "dh_clean" step. In the next build, dh_auto_clean
calls "make distclean" that removes the configure file.

make distclean is not called in the first build because there is no GNUMakefile
in the first build, but it is generated as a part of the first build's process.

IMHO, the easier solution would be either of these:
* Change dh_clean to dh_auto_clean
* Patch GNUMakefile.in to *not* remove configure.

I've attached a patch for the first solution. Please consider applying if you
find this OK.

Best,
Nilesh
diff --git a/debian/rules b/debian/rules
index e052b44..4354209 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,10 +7,11 @@ override_dh_auto_configure:
 	dh_auto_configure -- --with-libcrypto=none
 	cd manual && $(MAKE) manual.html
 
-override_dh_clean:
+override_dh_auto_clean:
 	-rm manual/manual.html
+	-rm -f *.o ldapvi
 	cp -a configure configure.save
-	dh_clean
+	dh_auto_clean
 	mv configure.save configure
 
 override_dh_auto_install:

Attachment: signature.asc
Description: PGP signature

Reply via email to