1# the library's version 2VERSION:=@PACKAGE_VERSION@ 3PACKAGE_TARNAME:=@PACKAGE_TARNAME@ 4 5# tools 6@SET_MAKE@ 7SHELL = /bin/sh 8MKDIR = mkdir 9DOXYGEN= @DOXYGEN@ 10 11top_builddir = @top_builddir@ 12prefix = @prefix@ 13datarootdir = @datarootdir@ 14docdir = @docdir@ 15htmldir = @htmldir@ 16 17DISTDIR?=$(top_builddir)/@PACKAGE_TARNAME@-@PACKAGE_VERSION@ 18FILES:=Makefile.in Doxyfile.in html 19 20doc: Doxyfile 21 $(DOXYGEN) $< >./doxygen.out 2>&1 22 23clean: 24 @rm -rf html 25 26distclean: clean 27 @rm -rf $(DISTDIR) 28 @rm -f *~ 29 30dist: doc 31 test -d $(DISTDIR)/doc || mkdir $(DISTDIR)/doc 32 cp -r $(FILES) $(DISTDIR)/doc 33 34install: $(doc) html 35 test -d $(htmldir) || mkdir -p $(htmldir) 36 cp -r html/* $(htmldir) 37