blob: d6ce8b60e43e89155f2e32da9dc151a381a67246 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
VERSION=0.15.2
.PHONY: dist
dist: owncloud-collabora-online.spec info.xml
rm -rf owncloud-collabora-online-$(VERSION)
mkdir owncloud-collabora-online-$(VERSION)
tar cf - --exclude appinfo/info.xml.in *.php \
appinfo \
assets \
controller \
css/style.css \
img \
js/*.js \
js/3rdparty/resources \
js/viewer \
js/widgets \
l10n \
lib \
templates \
| ( cd owncloud-collabora-online-$(VERSION) && tar xf - )
tar cfz owncloud-collabora-online-$(VERSION).tar.gz owncloud-collabora-online-$(VERSION)
rm -rf owncloud-collabora-online-$(VERSION)
owncloud-collabora-online.spec: owncloud-collabora-online.spec.in Makefile
sed -e 's/@PACKAGE_VERSION@/$(VERSION)/g' <owncloud-collabora-online.spec.in >owncloud-collabora-online.spec
info.xml: appinfo/info.xml.in Makefile
sed -e 's/@PACKAGE_VERSION@/$(VERSION)/g' <appinfo/info.xml.in >appinfo/info.xml
|