Build-depend on doxygen, build html documentation, and install below /usr/share (not /usr/share/doc as wrongly done in the past).
Jonas Smedegaard
13 years ago
| 12 | 12 |
pkg-config,
|
| 13 | 13 |
libgavl-dev,
|
| 14 | 14 |
libopencv-dev
|
|
15 |
Build-Depends-Indep: doxygen
|
| 15 | 16 |
Standards-Version: 3.9.4
|
| 16 | 17 |
|
| 17 | 18 |
Package: frei0r-plugins
|
| 4 | 4 |
Section: Graphics
|
| 5 | 5 |
|
| 6 | 6 |
Format: HTML
|
| 7 | |
Index: /usr/share/doc/frei0r-plugins-1.1/html/index.html
|
| 8 | |
Files: /usr/share/doc/frei0r-plugins-1.1/html/*.html
|
|
7 |
Index: /usr/share/frei0r/html/index.html
|
|
8 |
Files: /usr/share/frei0r/html/*.html
|
debian/frei0r-plugins-doc.install
less
more
| 0 | 0 |
#!/usr/bin/make -f
|
| 1 | 1 |
|
| 2 | 2 |
-include /usr/share/cdbs/1/rules/upstream-tarball.mk
|
|
3 |
include /usr/share/cdbs/1/rules/buildcore.mk
|
| 3 | 4 |
include /usr/share/cdbs/1/rules/debhelper.mk
|
| 4 | 5 |
include /usr/share/cdbs/1/class/autotools.mk
|
| 5 | 6 |
|
| 6 | 7 |
pkg = $(DEB_SOURCE_PACKAGE)
|
|
8 |
pkgdoc = frei0r-plugins-doc
|
| 7 | 9 |
|
| 8 | 10 |
DEB_UPSTREAM_URL = http://www.piksel.no/$(pkg)/releases
|
| 9 | 11 |
DEB_UPSTREAM_PACKAGE = frei0r-plugins
|
| 10 | 12 |
DEB_UPSTREAM_TARBALL_MD5 = a2eb63feeeb0c5cf439ccca276cbf70c
|
|
13 |
|
|
14 |
# TODO: have autotools build docs as part of main build, when doxygen is found
|
|
15 |
DEB_BUILDDIR_$(pkgdoc) = doc
|
|
16 |
build/$(pkgdoc)::
|
|
17 |
$(DEB_MAKE_INVOKE)
|
|
18 |
# TODO: have autotools support DESTDIR for doc install target
|
|
19 |
#install/$(pkgdoc)::
|
|
20 |
# $(DEB_MAKE_INVOKE) $(DEB_MAKE_INSTALL_TARGET)
|
|
21 |
DEB_DH_INSTALL_ARGS_$(pkgdoc) = doc/html usr/share/$(pkg)
|
|
22 |
# TODO: have autotools support DESTDIR for doc clean target
|
|
23 |
#DEB_PHONY_RULES += doc-clean/$(pkgdoc)
|
|
24 |
#doc-clean/$(pkgdoc):
|
|
25 |
# $(DEB_MAKE_INVOKE) distclean
|
|
26 |
#clean:: doc-clean/$(pkgdoc)
|
|
27 |
clean::
|
|
28 |
rm -f $(patsubst %,doc/html/*.%,html js css png map md5)
|
|
29 |
rm -f doc/Makefile
|