X-Git-Url: http://git.indexdata.com/?p=pazpar2-moved-to-github.git;a=blobdiff_plain;f=Makefile.am;h=8cf96e13595b49ef9cfec3f792c80f744ffbb772;hp=49f7ec1de1128f46b1ddb6be286d8669c34d3914;hb=HEAD;hpb=fbc4cc60726cfd5cb7c830b51dabb9effa582e7d diff --git a/Makefile.am b/Makefile.am index 49f7ec1..8cf96e1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,32 +1,29 @@ -# $Id: Makefile.am,v 1.9 2007-06-17 07:47:57 adam Exp $ - +# This file is part of Pazpar2. AUTOMAKE_OPTIONS = foreign ACLOCAL_AMFLAGS = -I m4 -SUBDIRS = src test doc +SUBDIRS = src etc/xsl test js doc -EXTRA_DIST = README NEWS LICENSE buildconf.sh Doxyfile.in m4/yaz.m4 +EXTRA_DIST = $(PACKAGE).spec IDMETA README NEWS LICENSE m4/id-config.sh \ + 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 - -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; do \ + mkdir -p $(distdir)/$$d; cp -r $$d/* $(distdir)/$$d; \ + done; rm -f $(distdir)/etc/pazpar2.cfg; exit 0 + mkdir $(distdir)/rpm + -cp $(srcdir)/rpm/* $(distdir)/rpm + +JSDISTDIR = pazpar2-js-$(VERSION) +js-dist: + mkdir -p $(JSDISTDIR) + cp LICENSE js/*js $(JSDISTDIR) + echo $(VERSION) > $(JSDISTDIR)/VERSION + tar cvfz pazpar2-js-$(VERSION).tar.gz $(JSDISTDIR) + rm -fr $(JSDISTDIR) + +.PHONY:debian +debian: + dpkg-buildpackage -rfakeroot