Bug#834653: nlopt: typo in debian/rules (override_dh_auto_reconf -> override_dh_autoreconf)

Chris Lamb lamby at debian.org
Wed Aug 17 20:32:09 UTC 2016


Source: nlopt
Version: 2.4.2+dfsg-2
Severity: minor
Tags: patch

Hi,

I believe there is a typo in your debian/rules (override_dh_auto_reconf -> 
override_dh_autoreconf).

I don't believe this affects the working of the package, but if anyone
in the future added the "dh $@ --with=autoreconf" magic, then it would
_not_ be able to see your override. Therefore, I suggest you normalise
the name.

Patch attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
diff --git a/debian/rules b/debian/rules
index 615db51..c25c58e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,7 @@ bpath = $(shell octave-config -p LOCALOCTFILEDIR)/nlopt
 %:
 	dh $@  --buildsystem=autoconf --builddirectory=$(BUILDDIR) --with python2
 
-override_dh_auto_reconf:
+override_dh_autoreconf:
 	[ -e bin/scripts ] || mkdir -p bin/scripts
 	cp -f /usr/share/misc/config.guess /usr/share/misc/config.sub bin/scripts
 	libtoolize --force --automake
@@ -20,7 +20,7 @@ override_dh_auto_reconf:
 	autoreconf -i
 	automake
 
-override_dh_auto_configure: override_dh_auto_reconf
+override_dh_auto_configure: override_dh_autoreconf
 	for v in $(PYVERS); do \
 	   dh_auto_configure --builddirectory=$(BUILDDIR)$$v \
 	        -- $(extra_flags) \


More information about the debian-science-maintainers mailing list