From: Jason Skomorowski Date: Tue, 24 Sep 2013 12:29:55 +0000 (-0400) Subject: Add VERSION to parpar2-js dist X-Git-Tag: v1.6.36~13 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=48650a8daa8ed402e5756c8eb2d3b63d98c29ab8;p=pazpar2-moved-to-github.git Add VERSION to parpar2-js dist --- diff --git a/Makefile.am b/Makefile.am index 090f6e0..02c2225 100644 --- a/Makefile.am +++ b/Makefile.am @@ -16,11 +16,13 @@ dist-hook: mkdir $(distdir)/rpm -cp $(srcdir)/rpm/* $(distdir)/rpm +JSDISTDIR = pazpar2-js-$(VERSION) 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) + 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: