diff options
author | Andras Timar <andras.timar@collabora.com> | 2015-10-29 20:46:24 +0300 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-10-29 20:46:35 +0300 |
commit | 9a7c7396613543d76436f91b682efc6917868e65 (patch) | |
tree | 919224a09946714f97d14144f40bfd7afa8dd4cb /Makefile | |
parent | 7593ec613febaf19ad4d60635335e269afffec26 (diff) |
RPM packaging for our ownCloud app
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
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 + |