Commit 9e083f10 authored by Bastien ROUCARIÈS's avatar Bastien ROUCARIÈS

Remove manpages file and generate automatically

parent a1d954ab
debian/tmp-q16/usr/share/man/man1/animate-im6.q16.1
debian/tmp-q16/usr/share/man/man1/compare-im6.q16.1
debian/tmp-q16/usr/share/man/man1/composite-im6.q16.1
debian/tmp-q16/usr/share/man/man1/conjure-im6.q16.1
debian/tmp-q16/usr/share/man/man1/convert-im6.q16.1
debian/tmp-q16/usr/share/man/man1/display-im6.q16.1
debian/tmp-q16/usr/share/man/man1/identify-im6.q16.1
debian/tmp-q16/usr/share/man/man1/import-im6.q16.1
debian/tmp-q16/usr/share/man/man1/mogrify-im6.q16.1
debian/tmp-q16/usr/share/man/man1/montage-im6.q16.1
debian/tmp-q16/usr/share/man/man1/stream-im6.q16.1
debian/tmp-${QUANTUMDEPTH}/usr/share/man/man1/animate-im${IMVERSION}.${QUANTUMDEPTH}.1
debian/tmp-${QUANTUMDEPTH}/usr/share/man/man1/compare-im${IMVERSION}.${QUANTUMDEPTH}.1
debian/tmp-${QUANTUMDEPTH}/usr/share/man/man1/composite-im${IMVERSION}.${QUANTUMDEPTH}.1
debian/tmp-${QUANTUMDEPTH}/usr/share/man/man1/conjure-im${IMVERSION}.${QUANTUMDEPTH}.1
debian/tmp-${QUANTUMDEPTH}/usr/share/man/man1/convert-im${IMVERSION}.${QUANTUMDEPTH}.1
debian/tmp-${QUANTUMDEPTH}/usr/share/man/man1/display-im${IMVERSION}.${QUANTUMDEPTH}.1
debian/tmp-${QUANTUMDEPTH}/usr/share/man/man1/identify-im${IMVERSION}.${QUANTUMDEPTH}.1
debian/tmp-${QUANTUMDEPTH}/usr/share/man/man1/import-im${IMVERSION}.${QUANTUMDEPTH}.1
debian/tmp-${QUANTUMDEPTH}/usr/share/man/man1/mogrify-im${IMVERSION}.${QUANTUMDEPTH}.1
debian/tmp-${QUANTUMDEPTH}/usr/share/man/man1/montage-im${IMVERSION}.${QUANTUMDEPTH}.1
debian/tmp-${QUANTUMDEPTH}/usr/share/man/man1/stream-im${IMVERSION}.${QUANTUMDEPTH}.1
......@@ -196,8 +196,16 @@ override_dh_autoreconf:
@echo "CPU has FPU...$(HAVE_FPU)"
dh_autoreconf --as-needed
# make autogenerated file
override_dh_auto_configure-arch_generatefile_quantum.%:
QUANTUM=$(call QUANTUM_PART,$*) \
HDRI=$(call HDRI_PART,$*) \
QUANTUMDEPTH=$* \
dh-exec imagemagick-IMVERSION.QUANTUMDEPTH.manpages.in > imagemagick-$(IMVERSION).$*.manpages
touch $@
# configure in build directory
override_dh_auto_configure-arch_quantum.%:
override_dh_auto_configure-arch_quantum.%: override_dh_auto_configure-arch_generatefile_quantum.%
@echo "configure for $* : quantum=$(call QUANTUM_PART,$*) HDRI=$(call HDRI_PART,$*)"
dh_auto_configure --builddirectory="debian/build-quantum-$*" -- \
${CONFIGURE_OPTIONS} \
......@@ -513,8 +521,11 @@ override_dh_prep: $(foreach Q,$(QUANTUMDEPTH),override_dh_prep_quantum.$Q) overr
override_dh_clean_quantum.%:
[ ! -d debian/build-quantum-$* ] || rm -rf debian/build-quantum-$*
[ ! -d debian/tmp-$* ] || rm -rf debian/tmp-$*
# generated file
[ ! -f imagemagick-$(IMVERSION).$*.manpages ] || rm imagemagick-$(IMVERSION).$*.manpages
# autoreconf
[ ! -f override_dh_auto_configure-arch_quantum.$* ] || rm override_dh_auto_configure-arch_quantum.$*
[ ! -f override_dh_auto_configure-arch_generatefile_quantum.$* ] || rm override_dh_auto_configure-arch_generatefile_quantum.$*
# auto_build
[ ! -f override_dh_auto_build-arch_quantum.$* ] || rm override_dh_auto_build-arch_quantum.$*
# auto install
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment