Commit 5377837f authored by Rafael Ostertag's avatar Rafael Ostertag
Browse files

Added snapshot target and made snapshot and nightly depend on bootstrap.

parent 2dd8937b
......@@ -2,6 +2,8 @@ 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')
GIT_REVISION_SHORT = $(git rev-parse --short HEAD || true)
GIT_REVISION_LONG = $(git rev-parse HEAD || true)
EXTENSION_CONTENT = Classes Configuration Documentation qfq Resources ext_emconf.php ext_localconf.php ext_tables.php ext_icon.png config.example.ini
all: archive t3sphinx
......@@ -20,10 +22,15 @@
rm -f qfq_$(PKG_VERSION).zip
nightly: bootstrap
rm -f qfq-????????.zip
cd extension; zip -r ../qfq-$(NIGHTLY_DATE) $(EXTENSION_CONTENT) -x config.ini
snapshot: bootstrap
echo $(GIT_REVISION_LONG) > extension/revision.git
cd extension ; zip -r ../qfq-$(GIT_REVISION_SHORT) $(EXTENSION_CONTENT) -x config.ini
cd extension/Documentation/_make; make html
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