blob: 3ebb6558c7025d2082d26034215a5f0ab64eadbf (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
VERSION=1.1.0
.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 \
img \
js \
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)
app: info.xml
rm -rf richdocuments
mkdir richdocuments
tar cf - --exclude appinfo/info.xml.in *.php \
appinfo \
assets \
controller \
css \
img \
js \
l10n \
lib \
templates \
| ( cd richdocuments && tar xf - )
zip -r richdocuments.zip richdocuments
rm -rf richdocuments
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
|