X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=Makefile.am;h=a485e2b2f1ba3bcaa6ce1f3d2f32a83b2c9b8e6b;hb=refs%2Fheads%2Fbranch-1.4.4;hp=46fd0f7b34ab52360c23659095548d5eee307fdb;hpb=ba5ce806058e5a541e858d402135ab62bdbda492;p=pazpar2-moved-to-github.git diff --git a/Makefile.am b/Makefile.am index 46fd0f7..a485e2b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,27 +1,19 @@ +# This file is part of Pazpar2. AUTOMAKE_OPTIONS = foreign ACLOCAL_AMFLAGS = -I m4 -SUBDIRS = src doc +SUBDIRS = src test js doc -EXTRA_DIST = README NEWS LICENSE buildconf.sh Doxyfile.in m4/yaz.m4 +EXTRA_DIST = $(PACKAGE).spec 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 - - -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 etc/services www/test1 www/jsdemo www/iphone; do \ + mkdir -p $(distdir)/$$d; cp -r $$d/* $(distdir)/$$d; \ + done; rm -f $(distdir)/etc/pazpar2.cfg; exit 0 + +.PHONY:debian +debian: + dpkg-buildpackage -rfakeroot