Commit a2c4dd27 authored by Andreas Metzler's avatar Andreas Metzler

Ship html documentation.

parent caaf1b0e
......@@ -13,6 +13,7 @@ enblend-enfuse (4.2-1) UNRELEASED; urgency=medium
* info docs are not provided anymore.
* Ship enfuse' examples for --exposure-weight-function=.
* Drop unused debian/sed-fix-texi-ids file.
* Ship html documentation.
-- Andreas Metzler <ametzler@debian.org> Sat, 02 Apr 2016 08:55:45 +0200
......
......@@ -9,3 +9,6 @@ Section: Graphics
Format: PDF
Files: /usr/share/doc/enblend/enblend.pdf
Format: HTML
Index: /usr/share/doc/enblend/html/enblend.html
Files: /usr/share/doc/enblend/html/*.html
../../build-def/doc/enblend.pdf usr/share/doc/enblend
../../build-def/doc/enblend*.html usr/share/doc/enblend/html
usr/bin/enblend
usr/share/man/man1/enblend.1
......@@ -8,3 +8,6 @@ Section: Graphics
Format: PDF
Files: /usr/share/doc/enfuse/enfuse.pdf
Format: HTML
Index: /usr/share/doc/enfuse/html/enfuse.html
Files: /usr/share/doc/enfuse/html/*.html
../../build-def/doc/enfuse.pdf usr/share/doc/enfuse
../../build-def/doc/enfuse*.html usr/share/doc/enfuse/html
usr/bin/enfuse
usr/share/man/man1/enfuse.1
usr/share/doc/enblend-enfuse/examples/enfuse/* usr/share/doc/enfuse/examples/
......@@ -31,6 +31,20 @@ override_dh_auto_build:
sed -i -e "s/manual page for enfuse.*/poor man's HDR/" \
build-def/src/enfuse.1
override_dh_auto_install:
dh_auto_install --verbose --builddirectory=build-def
mkdir -p $(CURDIR)/debian/enblend/usr/share/doc/enblend/html \
$(CURDIR)/debian/enfuse/usr/share/doc/enfuse/html
cd $(CURDIR)/build-def/doc && \
grep '<img src="[^>]*\.png' enblend*.html | \
sed -e 's/.*<img src="\([^"]*\)">.*/\1/' | sort -u | \
xargs -r cp -v \
--target-directory=$(CURDIR)/debian/enblend/usr/share/doc/enblend/html/ && \
grep '<img src="[^>]*\.png' enfuse*.html | \
sed -e 's/.*<img src="\([^"]*\)">.*/\1/' | sort -u | \
xargs -r cp -v \
--target-directory=$(CURDIR)/debian/enfuse/usr/share/doc/enfuse/html/
override_dh_compress:
dh_compress -X.pdf
......
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