X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=Makefile.am;h=d801bf8a5a696f603e738c8b126d0f597e154196;hb=de1cc4cba5ca88fe83892a8f126a0a00ab4d836c;hp=987142d00b3c95551be20ddd96c4208b60c139ff;hpb=8da4b5a86ad1b367ae19c94fce4e76095ff40953;p=pazpar2-moved-to-github.git diff --git a/Makefile.am b/Makefile.am index 987142d..d801bf8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,21 +1,18 @@ -# $Id: Makefile.am,v 1.11 2007-06-17 18:24:02 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 - cp -r $(srcdir)/www $(distdir) - cvs=`find $(distdir)/www -name CVS -type d -print`; if test "$$cvs"; then rm -r $$cvs; fi - mkdir $(distdir)/debian - for f in $(srcdir)/debian/*; do \ - test -f $$f && cp $$f $(distdir)/debian; \ + 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: @@ -29,4 +26,8 @@ showdox: doxygen galeon file:///`pwd`/$(top_srcdir)/dox/html/index.html & -.PHONY: cvs2cl dox showdox +debian: + dpkg-buildpackage -rfakeroot + + +.PHONY: cvs2cl dox showdox debian