Codebase list frei0r / ae5f3b4
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
4 changed file(s) with 22 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
1212 pkg-config,
1313 libgavl-dev,
1414 libopencv-dev
15 Build-Depends-Indep: doxygen
1516 Standards-Version: 3.9.4
1617
1718 Package: frei0r-plugins
44 Section: Graphics
55
66 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
+0
-1
debian/frei0r-plugins-doc.install less more
0 usr/share/doc
00 #!/usr/bin/make -f
11
22 -include /usr/share/cdbs/1/rules/upstream-tarball.mk
3 include /usr/share/cdbs/1/rules/buildcore.mk
34 include /usr/share/cdbs/1/rules/debhelper.mk
45 include /usr/share/cdbs/1/class/autotools.mk
56
67 pkg = $(DEB_SOURCE_PACKAGE)
8 pkgdoc = frei0r-plugins-doc
79
810 DEB_UPSTREAM_URL = http://www.piksel.no/$(pkg)/releases
911 DEB_UPSTREAM_PACKAGE = frei0r-plugins
1012 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