blob: 42b7d16ede787e173e572235294a57cecba08737 (
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
|
VERSION=1.0.0
.PHONY: dist
dist: owncloud-ccs.spec
rm -rf owncloud-ccs-$(VERSION)
mkdir owncloud-ccs-$(VERSION)
tar cf - *.php \
appinfo \
assets \
controller \
css/style.css \
img \
js/*.js \
js/3rdparty/resources \
js/viewer \
js/widgets \
l10n \
lib \
templates \
| ( cd owncloud-ccs-$(VERSION) && tar xf - )
tar cfz owncloud-ccs-$(VERSION).tar.gz owncloud-ccs-$(VERSION)
rm -rf owncloud-ccs-$(VERSION)
owncloud-ccs.spec: owncloud-ccs.spec.in Makefile
sed -e 's/@PACKAGE_VERSION@/$(VERSION)/g' <owncloud-ccs.spec.in >owncloud-ccs.spec
|