Commit 3dde35aa authored by Marc Egger's avatar Marc Egger
Browse files

fix makefile

parent ae7f8936
Pipeline #1903 passed with stages
in 2 minutes and 42 seconds
......@@ -6,7 +6,7 @@ RELEASE_DATE = $(shell date '+%Y%m%d%H%M')
GIT_REVISION_SHORT = $(shell git rev-parse --short HEAD || true)
GIT_REVISION_LONG = $(shell git rev-parse HEAD || true)
EXTENSION_CONTENT = Classes Configuration Documentation Source Resources ext_emconf.php ext_localconf.php ext_tables.php ext_icon.png ext_conf_template.txt config.qfq.example.php RELEASE.txt vendor
EXTENSION_CONTENT = Classes Configuration Source Resources ext_emconf.php ext_localconf.php ext_tables.php ext_icon.png ext_conf_template.txt config.qfq.example.php RELEASE.txt vendor
DISTDIR=dist
......@@ -28,14 +28,6 @@ qfq.zip:
clean:
cd doc/diagram ; $(MAKE) $@
update-qfq-doc:
rsync -av --delete --exclude=_make --exclude=_static extension/Documentation/ ../qfq-doc/Documentation/; \
cd ../qfq-doc/; \
git commit -a; \
git push
wget -O /dev/null https://docs.typo3.org/~mbless/github.com/T3DocumentationStarter/Public-Info-053.git.make/request_rebuild.php
git-revision: make-dist-dir
echo $(GIT_REVISION_LONG) > $(DISTDIR)/revision.git
......@@ -43,17 +35,10 @@ make-dist-dir:
rm -rf $(DISTDIR)/
mkdir $(DISTDIR)
dist-move-doc:
cd $(DISTDIR) ; \
mkdir Documentation.tmp ;\
mv Documentation/_make/build/html Documentation.tmp ;\
rm -rf Documentation ; \
mv Documentation.tmp Documentation
dist-copy-extension:
cd extension ; cp -R $(EXTENSION_CONTENT) ../$(DISTDIR)/
build-dist: make-dist-dir dist-copy-extension dist-move-doc git-revision
build-dist: make-dist-dir dist-copy-extension git-revision
echo "Distribution made in $(DIST)"
nightly: basic build-dist
......@@ -108,11 +93,11 @@ basic: .npmpackages .virtual_env
pip-temp-directory:
test -d "$(PIP_TMP)" || mkdir -p "$(PIP_TMP)"
.PHONY: nightly maintainer-clean snapshot release git-revision build-dist make-dist-dir dist-move-doc dist-copy-extension pip-temp-directory plantuml sonar
.PHONY: nightly maintainer-clean snapshot release git-revision build-dist make-dist-dir dist-copy-extension pip-temp-directory plantuml sonar
copyReleaseNotes:
cp extension/Documentation/Release.rst extension/RELEASE.txt
cp extension/Documentation/Release.rst CHANGELOG.md
cp Documentation/Release.rst extension/RELEASE.txt
cp Documentation/Release.rst CHANGELOG.md
phpunit:
# update composer with dev to install phpunit package
......
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