phony updated, clean rearranged

master
Marc Wäckerlin 20 years ago
parent df9f63a914
commit b3b3cc539e
  1. 14
      mrw/makefile.am

@ -9,6 +9,9 @@
## @license LGPL, see file <a href="license.html">COPYING</a> ## @license LGPL, see file <a href="license.html">COPYING</a>
## ##
## $Log$ ## $Log$
## Revision 1.30 2005/04/14 15:56:07 marc
## phony updated, clean rearranged
##
## Revision 1.29 2005/04/10 15:01:28 marc ## Revision 1.29 2005/04/10 15:01:28 marc
## Now, make distcheck works AND the html doc is dirstributed... ## Now, make distcheck works AND the html doc is dirstributed...
## ##
@ -390,7 +393,8 @@ dist_check_DATA = test.dat configfile.ini configfile.ini.result
EXTRA_DIST = head.html foot.html style.css EXTRA_DIST = head.html foot.html style.css
TESTS = ${check_PROGRAMS} ${dist_check_SCRIPTS} TESTS = ${check_PROGRAMS} ${dist_check_SCRIPTS}
.PHONY: doc clean-local distclean-local .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 deps = ${top_srcdir}/COPYING ${top_srcdir}/README ${top_srcdir}/INSTALL ${top_srcdir}/NEWS ${top_srcdir}/ChangeLog
@ -417,15 +421,15 @@ ${top_builddir}/doc/latex/@PACKAGENAME@-@MAJOR@.@MINOR@.@LEAST@.pdf: doxyfile *.
clean-local: clean-local:
- rm doxygen.err libmrw.doxytag - rm doxygen.err libmrw.doxytag
distclean-local:
- rm -r ${top_builddir}/doc/html/* ${top_builddir}/doc/latex/*
- rm makefile makefile.in doxygen.err libmrw.doxytag
dist-hook: dist-hook:
test -d ${distdir}/doc/html || \ test -d ${distdir}/doc/html || \
mkdir -p ${distdir}/doc/html mkdir -p ${distdir}/doc/html
cp ${top_builddir}/doc/html/* ${distdir}/doc/html/. cp ${top_builddir}/doc/html/* ${distdir}/doc/html/.
distclean-local:
- rm -r ${top_builddir}/doc/html/* ${top_builddir}/doc/latex/*
- rm makefile makefile.in doxygen.err libmrw.doxytag
install-data-hook: install-data-hook:
chmod -R u+w ${pkgdatadir}/doc chmod -R u+w ${pkgdatadir}/doc
cp -rf ${top_builddir}/doc/html ${pkgdatadir}/doc/ cp -rf ${top_builddir}/doc/html ${pkgdatadir}/doc/

Loading…
Cancel
Save