Commit 86457e0a authored by Rafael Ostertag's avatar Rafael Ostertag
Browse files

Use dist dir to compile zip file content.

parent 437efcdc
......@@ -23,18 +23,29 @@ qfq.zip:
clean:
rm -f qfq_$(PKG_VERSION).zip
copy-dist: t3sphinx
rm -rf dist/
mkdir dist
cd extension
cp -R $(EXTENSION_CONTENT) ../dist/
cd ../dist/
mkdir Documentation.tmp
mv Documentation/_make/build/html Documentation.tmp
rm -rf Documentation
mv Documentation.tmp Documentation
git-revision:
echo $(GIT_REVISION_LONG) > extension/revision.git
nightly: bootstrap git-revision t3sphinx
cd extension; zip -r ../qfq-$(NIGHTLY_DATE) $(EXTENSION_CONTENT) revision.git -x config.ini
nightly: bootstrap git-revision
cd dist; zip -r ../qfq-$(NIGHTLY_DATE) $(EXTENSION_CONTENT) revision.git -x config.ini
snapshot: bootstrap git-revision t3sphinx
cd extension ; zip -r ../qfq-$(NIGHTLY_DATE)-$(GIT_REVISION_SHORT) $(EXTENSION_CONTENT) revision.git -x config.ini
snapshot: bootstrap git-revision
cd dist ; zip -r ../qfq-$(NIGHTLY_DATE)-$(GIT_REVISION_SHORT) $(EXTENSION_CONTENT) revision.git -x config.ini
release: bootstrap git-revision t3sphinx
release: bootstrap git-revision
if [ -z "$(VERSION)" ] ; then echo "Set VERSION make variable to the release version (fmt: maj.min.micro)" ; exit 1 ; fi
cd extension ; zip -r "../qfq.$(VERSION)_$(RELEASE_DATE).zip" $(EXTENSION_CONTENT) revision.git -x config.ini
cd dist ; zip -r "../qfq.$(VERSION)_$(RELEASE_DATE).zip" $(EXTENSION_CONTENT) revision.git -x config.ini
t3sphinx: .virtual_env
......
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