projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
First work on PAZ-900
[pazpar2-moved-to-github.git]
/
Makefile.am
diff --git
a/Makefile.am
b/Makefile.am
index
e0a7d79
..
02c2225
100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-10,12
+10,20
@@
EXTRA_DIST = $(PACKAGE).spec IDMETA README NEWS LICENSE m4/id-config.sh \
dist-hook:
if test -x /usr/bin/git -a -d .git; then git log >ChangeLog ; cp ChangeLog $(distdir); fi
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 www/iphone; do \
+ 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
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:
dpkg-buildpackage -rfakeroot
.PHONY:debian
debian:
dpkg-buildpackage -rfakeroot