richdocuments/Makefile

27 lines
756 B
Makefile
Raw Normal View History

2015-10-29 18:46:24 +01:00
VERSION=1.0.0
.PHONY: dist
dist: owncloud-ccs.spec
rm -rf owncloud-ccs-$(VERSION)
mkdir owncloud-ccs-$(VERSION)
2015-10-30 09:55:18 +01:00
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 - )
2015-10-29 18:46:24 +01:00
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