X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=Makefile.am;h=090f6e0154f946819cb2c00704aa1b126251b265;hb=613d03e4d8c2fcba754110ad45a7e9d0d260c85a;hp=4041ed59e4ad3b88ba57e9108241ca37fc3d74d1;hpb=fa8b2dbfe66f01e4cea8a4962807f94912a2740d;p=pazpar2-moved-to-github.git diff --git a/Makefile.am b/Makefile.am index 4041ed5..090f6e0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,17 +4,23 @@ ACLOCAL_AMFLAGS = -I m4 SUBDIRS = src 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/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; \ - for f in $(srcdir)/$$d/*; do \ - test -f $$f && cp $$f $(distdir)/$$d; \ - done; \ + 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 + +js-dist: + mkdir -p pazpar2-js-$(VERSION) + cp LICENSE js/*js pazpar2-js-$(VERSION) + tar cvf pazpar2-js-$(VERSION).tar pazpar2-js-$(VERSION) + rm -fr pazpar2-js-$(VERSION) .PHONY:debian debian: