X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=Makefile.am;h=02c22255f3e5295a11cc918d4072331dfea62b2a;hb=807477557512b665bac79fdc8491454bae16faa2;hp=c51fafc4b444413dd5a9844a7313042b05ca34f7;hpb=86b8aa645463dec404f0e9bca0881671c53c41ee;p=pazpar2-moved-to-github.git diff --git a/Makefile.am b/Makefile.am index c51fafc..02c2225 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,17 +4,25 @@ 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 www/test1 www/jsdemo; do \ - mkdir -p $(distdir)/$$d; \ - for f in $(srcdir)/$$d/*; do \ - test -f $$f && cp $$f $(distdir)/$$d; \ - done; \ + 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: