Commit f2f730ec authored by Carsten  Rose's avatar Carsten Rose
Browse files

Makefile: create Extension ZIP file

parent 167deda9
PHPDOC ?= support/pear/phpdoc PHPDOC ?= support/pear/phpdoc
JSDOC ?= jsdoc JSDOC ?= jsdoc
PKG_VERSION = $(shell awk '/version/ { print $$3 }' extension/ext_emconf.php | sed "s/'//g")
all: archive
doc: phpdoc jsdoc doc: phpdoc jsdoc
...@@ -34,3 +36,13 @@ phpdoc: .phpdocinstall ...@@ -34,3 +36,13 @@ phpdoc: .phpdocinstall
.bowerpackages: bower.json .bowerpackages: bower.json
bower --silent install bower --silent install
touch $@ touch $@
archive: clean qfq_$(PKG_VERSION).zip
qfq_$(PKG_VERSION).zip: extension/Classes extension/Configuration extension/qfq extension/Resources extension/ext_emconf.php extension/ext_localconf.php extension/ext_tables.php extension/config.example.ini
cd extension; zip -r ../$@ Classes Configuration qfq Resources ext_emconf.php ext_localconf.php ext_tables.php config.example.ini
clean:
rm -f qfq_$(PKG_VERSION).zip
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment