Commit aafbc7ae authored by Rafael Ostertag's avatar Rafael Ostertag
Browse files

Added nightly target to Makefile.

parent d7a847d2
PHPDOC ?= support/pear/phpdoc
JSDOC ?= jsdoc
PKG_VERSION = $(shell awk '/version/ { print $$3 }' extension/ext_emconf.php | sed "s/'//g")
NIGHTLY_DATE = $(shell date '+%Y%m%d')
EXTENSION_CONTENT = Classes Configuration qfq Resources ext_emconf.php ext_localconf.php ext_tables.php config.example.ini
all: archive
......@@ -40,9 +42,14 @@ phpdoc: .phpdocinstall
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
qfq_$(PKG_VERSION).zip:
cd extension; zip -r ../$@ $(EXTENSION_CONTENT)
clean:
rm -f qfq_$(PKG_VERSION).zip
nightly:
rm -f qfq_????????.zip
cd extension; zip -r ../qfq_$(NIGHTLY_DATE) $(EXTENSION_CONTENT)
.PHONY: nightly
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