X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=Makefile.am;h=b65178b28aa89fad6f961282aa92a3218df2a0e0;hb=a1fb6e2edfc3e299550cc0c2db576b0e44339ebb;hp=41d7dbeadcca0937d92140a75d319a505b99e53d;hpb=e648fad9feddf0b92031567eaeba9222959928ce;p=pazpar2-moved-to-github.git diff --git a/Makefile.am b/Makefile.am index 41d7dbe..b65178b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,38 +1,17 @@ -# $Id: Makefile.am,v 1.13 2007-06-20 14:11:41 adam Exp $ - +# This file is part of Pazpar2. AUTOMAKE_OPTIONS = foreign ACLOCAL_AMFLAGS = -I m4 SUBDIRS = src test js doc -EXTRA_DIST = README NEWS LICENSE buildconf.sh Doxyfile.in 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 ; 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 - 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; \ + 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; exit 0 - mkdir $(distdir)/debian - for f in $(srcdir)/debian/*; do \ - test -f $$f && cp $$f $(distdir)/debian; \ - done; exit 0 - -cvs2cl: - cvs2cl - - -dox: - doxygen - -showdox: - doxygen - galeon file:///`pwd`/$(top_srcdir)/dox/html/index.html & -.PHONY: cvs2cl dox showdox