X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=Makefile.am;h=c51fafc4b444413dd5a9844a7313042b05ca34f7;hb=7a33155d0b8a08c9060fa087e15e404d873298a4;hp=eb2fc405a3d5984e922d48368703adf7531777e0;hpb=b4edc17e33ad611f70f231072bedcd2ab6415476;p=pazpar2-moved-to-github.git diff --git a/Makefile.am b/Makefile.am index eb2fc40..c51fafc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,13 +1,21 @@ +# This file is part of Pazpar2. AUTOMAKE_OPTIONS = foreign ACLOCAL_AMFLAGS = -I m4 -SUBDIRS = src doc +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 win/version.nsi win/version.nsi.in win/license.txt 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; do \ + mkdir -p $(distdir)/$$d; \ + for f in $(srcdir)/$$d/*; do \ + test -f $$f && cp $$f $(distdir)/$$d; \ + done; \ + done; rm -f $(distdir)/etc/pazpar2.cfg; exit 0 + +.PHONY:debian +debian: + dpkg-buildpackage -rfakeroot