first cleanup; still missing: RPM/Debian packages, pkgconfig, version compiled-in-version-info; refs #7

This commit is contained in:
Marc Wäckerlin
2010-09-29 11:19:03 +00:00
parent adbb943401
commit a0cd614bf3
47 changed files with 3596 additions and 1899 deletions

View File

@@ -0,0 +1,47 @@
## @file
##
## $Id: makefile.am 40 2010-03-31 15:13:10Z marc $
##
## 1 2 3 4 5 6 7 8
## 45678901234567890123456789012345678901234567890123456789012345678901234567890
#SUBDIRS = examples
develdir = ${pkgdatadir}/doc
devel_DATA = html/index.html
ALL_SRC = ${top_srcdir}/src/*.cpp ${top_srcdir}/src/*.h
DIRS = html latex
all: ${DIRS}
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}/*