From 63930a85e62ac75095ce24a2ea2b15c764a788eb Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Sat, 3 Nov 2007 18:09:23 +1300 Subject: [PATCH] Add the translation building process into the Makefile --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3c3d9e10..15e58fdf 100755 --- a/Makefile +++ b/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