Make js-dist rule
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 19 Sep 2013 13:59:59 +0000 (15:59 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 19 Sep 2013 13:59:59 +0000 (15:59 +0200)
Makefile.am

index 106b8fb..090f6e0 100644 (file)
@@ -16,6 +16,12 @@ dist-hook:
        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:
        dpkg-buildpackage -rfakeroot