X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=Makefile.am;h=c51fafc4b444413dd5a9844a7313042b05ca34f7;hb=e042a262dd8af2afd5a46ff6dd9c223f6c8426dc;hp=db2b5f9cb579261224a4c49ee950bf769c4b6ee1;hpb=13959d16cf3df39c8e7ecbe5fc77314432957177;p=pazpar2-moved-to-github.git diff --git a/Makefile.am b/Makefile.am index db2b5f9..c51fafc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,32 +1,21 @@ -# $Id: Makefile.am,v 1.10 2007-06-17 07:52:20 adam Exp $ - +# This file is part of Pazpar2. AUTOMAKE_OPTIONS = foreign ACLOCAL_AMFLAGS = -I m4 -SUBDIRS = src test doc +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 win/version.nsi win/version.nsi.in win/license.txt 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; \ - done; exit 0 - -cvs2cl: - cvs2cl - - -dox: - doxygen - -showdox: - doxygen - galeon file:///`pwd`/$(top_srcdir)/dox/html/index.html & - -.PHONY: cvs2cl dox showdox + 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