basic subproject structure, see #1
This commit is contained in:
47
swisssign-openssl-pkcs11-engine/doc/makefile.am
Normal file
47
swisssign-openssl-pkcs11-engine/doc/makefile.am
Normal file
@@ -0,0 +1,47 @@
|
||||
## @file
|
||||
##
|
||||
## $Id: makefile.am 10 2009-06-17 12:15:51Z marwae $
|
||||
##
|
||||
## 1 2 3 4 5 6 7 8
|
||||
## 45678901234567890123456789012345678901234567890123456789012345678901234567890
|
||||
|
||||
develdir = ${pkgdatadir}/doc
|
||||
devel_DATA = html/index.html
|
||||
|
||||
ALL_SRC = ${top_srcdir}/src/*.[ch]xx ${top_srcdir}/test/*.[ch]xx
|
||||
|
||||
DIRS = html latex
|
||||
|
||||
all: ${DIRS}
|
||||
|
||||
.PHONY: doc clean-local distclean-local dist-hool install-data-hook \
|
||||
uninstall-hook
|
||||
|
||||
deps = ${top_srcdir}/COPYING ${top_srcdir}/README \
|
||||
${top_srcdir}/INSTALL ${top_srcdir}/NEWS ${top_srcdir}/ChangeLog
|
||||
|
||||
${devel_DATA}: ${ALL_SRC} doxyfile ${deps}
|
||||
doxygen doxyfile
|
||||
if PEDANTIC
|
||||
test \! -s doxygen.errors
|
||||
endif
|
||||
cd latex && make
|
||||
mv latex/refman.pdf @PACKAGENAME@-@MAJOR@.@MINOR@.@LEAST@.pdf
|
||||
|
||||
CLEANFILES = doxygen.errors @PACKAGENAME@-@MAJOR@.@MINOR@.@LEAST@.pdf
|
||||
DISTCLEANFILES = @PACKAGENAME@.doxytag
|
||||
MAINTAINERCLEANFILES = makefile.in
|
||||
|
||||
distclean-local:
|
||||
- rm -r html latex
|
||||
|
||||
dist-hook: ${devel_DATA}
|
||||
cp -r html ${distdir}/
|
||||
|
||||
install-data-hook:
|
||||
chmod -R u+w ${develdir}
|
||||
cp -r html/* ${develdir}/
|
||||
|
||||
uninstall-hook:
|
||||
-chmod -R u+w ${develdir}
|
||||
-rm -rf ${develdir}/*
|
Reference in New Issue
Block a user