From 48650a8daa8ed402e5756c8eb2d3b63d98c29ab8 Mon Sep 17 00:00:00 2001 From: Jason Skomorowski Date: Tue, 24 Sep 2013 08:29:55 -0400 Subject: [PATCH] Add VERSION to parpar2-js dist --- Makefile.am | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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: -- 1.7.10.4