Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
86457e0a
Commit
86457e0a
authored
May 05, 2017
by
Rafael Ostertag
Browse files
Use dist dir to compile zip file content.
parent
437efcdc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
86457e0a
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment