I have run into some problems creating Debian packaging for a shared library. The application contains a
Doxyfile which is used to generate documentation for the library. I would like to create a
libfoo-doc package which includes the documentation.
In order to generate the documentation, I have the following lines in
#!/usr/bin/make -f build-indep: cd $(DESTDIR)/share/doc/libfoo-doc ; doxygen %: dh $@
However, this target never gets built, despite what this page claims:
"The binary target must be all that is necessary for the user to build the binary package(s) produced from this source package. It is split into two parts: binary-arch builds the binary packages which are specific to a particular architecture, and binary-indep builds those which are not."
I also tried changing
installdocs but that made no difference.
What target do I need to use for generating documentation?