Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2015-10-30 11:55:18 +0300
committerAndras Timar <andras.timar@collabora.com>2015-10-30 11:55:18 +0300
commite96a49418c4a7194adddb380ada5d86385130c20 (patch)
tree641355966b0275f4315704b9340b54789b78acd2 /Makefile
parent0d69783913c411ec57826080bbbf3d18a76a8293 (diff)
do not package unused stuff
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 14 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5c40afd3..42b7d16e 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,20 @@ VERSION=1.0.0
dist: owncloud-ccs.spec
rm -rf owncloud-ccs-$(VERSION)
mkdir owncloud-ccs-$(VERSION)
- cp -ra *.php assets controller img l10n appinfo css js lib templates 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)