1 # This file is part of Pazpar2.
2 AUTOMAKE_OPTIONS = foreign
3 ACLOCAL_AMFLAGS = -I m4
5 SUBDIRS = src etc/xsl test js doc
7 EXTRA_DIST = $(PACKAGE).spec IDMETA README NEWS LICENSE m4/id-config.sh \
8 buildconf.sh Doxyfile.in m4/yaz.m4 \
9 win/makefile win/version.nsi win/version.nsi.in win/license.txt
12 if test -x /usr/bin/git -a -d .git; then git log >ChangeLog ; cp ChangeLog $(distdir); fi
13 for d in etc etc/settings etc/services www/test1 www/jsdemo; do \
14 mkdir -p $(distdir)/$$d; cp -r $$d/* $(distdir)/$$d; \
15 done; rm -f $(distdir)/etc/pazpar2.cfg; exit 0
17 -cp $(srcdir)/rpm/* $(distdir)/rpm
19 JSDISTDIR = pazpar2-js-$(VERSION)
22 cp LICENSE js/*js $(JSDISTDIR)
23 echo $(VERSION) > $(JSDISTDIR)/VERSION
24 tar cvfz pazpar2-js-$(VERSION).tar.gz $(JSDISTDIR)
29 dpkg-buildpackage -rfakeroot