basic subproject structure, see #1

This commit is contained in:
Marc Wäckerlin
2010-07-12 13:46:37 +00:00
parent 0065e2c3e7
commit 569372a30b
11 changed files with 1654 additions and 0 deletions

View 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}/*