tags 831940 + patch
thanks

On Wed, 20 Jul 2016, Lucas Nussbaum wrote:

> make[1]: Entering directory '/<<BUILDDIR>>/fdb-1.4.9+dfsg1'
> [ ! -d fdb.egg-info -o -d fdb.egg-info.orig ] || mv fdb.egg-info 
> fdb.egg-info.orig
> dh_auto_install -i-O-v-O--buildsystem=pybuild
> dh_auto_install: unknown option; aborting
> debian/rules:41: recipe for target 'override_dh_auto_install' failed
> make[1]: *** [override_dh_auto_install] Error 25

The funny chars are the result of using DH_INTERNAL_OPTIONS.

I don't know why are you using this internal variable, but without it
the package builds exactly the same, so I guess debhelper is clever
enough to know what it needs to be done.

Patch attached.

Thanks.
--- a/debian/rules
+++ b/debian/rules
@@ -21,9 +21,9 @@ override_dh_auto_build:
        mv docs html
 
 override_dh_installdocs:
-       dh_installdocs $(DH_INTERNAL_OPTIONS) --no-package=$(DOC_PACKAGE) README
-       dh_installdocs $(DH_INTERNAL_OPTIONS) --package=$(DOC_PACKAGE) html
-       dh_sphinxdoc $(DH_INTERNAL_OPTIONS) --package=$(DOC_PACKAGE) $(DOC_DIR)
+       dh_installdocs --no-package=$(DOC_PACKAGE) README
+       dh_installdocs --package=$(DOC_PACKAGE) html
+       dh_sphinxdoc --package=$(DOC_PACKAGE) $(DOC_DIR)
        debian/ras-sphinxdoc.sh $(DOC_PACKAGE)/$(DOC_DIR)
 
 #
@@ -38,7 +38,7 @@ override_dh_auto_clean: $(PYBUILD_NAME).egg-info.orig
        rm -rf html debian/missing-sources
 
 override_dh_auto_install: $(PYBUILD_NAME).egg-info.orig
-       dh_auto_install $(DH_INTERNAL_OPTIONS)
+       dh_auto_install
 
 
 $(PYBUILD_NAME).egg-info.orig:

Reply via email to