X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=Makefile.am;h=d801bf8a5a696f603e738c8b126d0f597e154196;hb=caccd7d8b406e79df7e43a0e37dd3ba363094c1a;hp=f0647d2c2f0d1c72aa298878f96ad5da36fb0156;hpb=41b3d6e76417912fda803543325e1edba21896ba;p=pazpar2-moved-to-github.git diff --git a/Makefile.am b/Makefile.am index f0647d2..d801bf8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,13 +1,33 @@ +# This file is part of Pazpar2. AUTOMAKE_OPTIONS = foreign ACLOCAL_AMFLAGS = -I m4 -SUBDIRS = src +SUBDIRS = src test js doc -EXTRA_DIST = README PROTOCOL m4/yaz.m4 +EXTRA_DIST = README NEWS LICENSE buildconf.sh Doxyfile.in m4/yaz.m4 win/makefile dist-hook: - if test -x /usr/bin/cvs2cl -a -d CVS; then cvs2cl ; fi - cp -r $(srcdir)/etc $(distdir) - cvs=`find $(distdir)/etc -name CVS -type d -print`; if test "$$cvs"; then rm -r $$cvs; fi - cp -r $(srcdir)/www $(distdir) - cvs=`find $(distdir)/www -name CVS -type d -print`; if test "$$cvs"; then rm -r $$cvs; fi + if test -x /usr/bin/git -a -d .git; then git log >ChangeLog ; cp ChangeLog $(distdir); fi + for d in etc etc/settings www/test1 www/jsdemo debian; do \ + mkdir -p $(distdir)/$$d; \ + for f in $(srcdir)/$$d/*; do \ + test -f $$f && cp $$f $(distdir)/$$d; \ + done; \ + done; exit 0 + +cvs2cl: + cvs2cl + + +dox: + doxygen + +showdox: + doxygen + galeon file:///`pwd`/$(top_srcdir)/dox/html/index.html & + +debian: + dpkg-buildpackage -rfakeroot + + +.PHONY: cvs2cl dox showdox debian