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:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 00000000..5c40afd3
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,13 @@
+VERSION=1.0.0
+
+.PHONY: dist
+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 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
+