X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=Makefile.am;h=41d7dbeadcca0937d92140a75d319a505b99e53d;hb=9864b5ebf2fda284dd208c64192a652b5e799cd9;hp=d62f2a1ed37738445b66b1855834d322ab4d5261;hpb=cb8d8c6915f8450746e8929802231e177f7284d3;p=pazpar2-moved-to-github.git diff --git a/Makefile.am b/Makefile.am index d62f2a1..41d7dbe 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,17 +1,28 @@ +# $Id: Makefile.am,v 1.13 2007-06-20 14:11:41 adam Exp $ + AUTOMAKE_OPTIONS = foreign ACLOCAL_AMFLAGS = -I m4 -SUBDIRS = src doc +SUBDIRS = src test js doc -EXTRA_DIST = README m4/yaz.m4 +EXTRA_DIST = README NEWS LICENSE buildconf.sh Doxyfile.in m4/yaz.m4 dist-hook: - if test -x /usr/bin/cvs2cl -a -d CVS; then cvs2cl ; fi + if test -x /usr/bin/cvs2cl -a -d CVS; then cvs2cl ; cp ChangeLog $(distdir); 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 - + mkdir -p $(distdir)/www/test1 + for f in $(srcdir)/www/test1/*; do \ + test -f $$f && cp $$f $(distdir)/www/test1; \ + done; exit 0 + mkdir -p $(distdir)/www/jsdemo + for f in $(srcdir)/www/jsdemo/*; do \ + test -f $$f && cp $$f $(distdir)/www/jsdemo; \ + done; exit 0 + mkdir $(distdir)/debian + for f in $(srcdir)/debian/*; do \ + test -f $$f && cp $$f $(distdir)/debian; \ + done; exit 0 cvs2cl: cvs2cl