mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-31 18:46:02 +00:00
Add the translation building process into the Makefile
This commit is contained in:
parent
0920c1ef31
commit
63930a85e6
8
Makefile
8
Makefile
@ -4,12 +4,16 @@
|
||||
package=rscds
|
||||
version=$(shell cat VERSION)
|
||||
|
||||
all: inc/always.php built-docs
|
||||
all: inc/always.php built-docs built-po
|
||||
|
||||
built-docs: docs/api/phpdoc.ini htdocs/*.php inc/*.php
|
||||
phpdoc -c docs/api/phpdoc.ini || echo "WARNING: failed to build docs"
|
||||
touch built-docs
|
||||
|
||||
built-po: inc/always.php scripts/po/rebuild-translations.sh scripts/po/extract.pl
|
||||
scripts/po/rebuild-translations.sh
|
||||
touch built-po
|
||||
|
||||
#
|
||||
# Insert the current version number into always.php
|
||||
#
|
||||
@ -28,7 +32,7 @@ release: built-docs
|
||||
rm $(package)-$(version)
|
||||
|
||||
clean:
|
||||
rm -f built-docs
|
||||
rm -f built-docs built-po
|
||||
-find docs/api/* ! -name "phpdoc.ini" ! -name ".gitignore" -delete
|
||||
-find . -name "*~" -delete
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user