diff options
| author | fukachan <fukachan> | 2009-12-26 13:26:55 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2009-12-26 13:26:55 +0000 |
| commit | 76fcc641138dc60489cca1ff100d121f8ea2e55f (patch) | |
| tree | 4534e53a0530afb31d5a92143372e56aadf0db7d /fml/doc/ja/Makefile.template | |
| parent | 98f00d14dbc6121aa1ec5305acf20165bbe8d4c0 (diff) | |
| download | fml8-76fcc641138dc60489cca1ff100d121f8ea2e55f.tar.gz fml8-76fcc641138dc60489cca1ff100d121f8ea2e55f.tar.bz2 fml8-76fcc641138dc60489cca1ff100d121f8ea2e55f.zip | |
replace version in include/bookinfo.sgml always
using fml/utils/bin/version_replace.pl utility.
catch up the change in clean and export rules.
Diffstat (limited to 'fml/doc/ja/Makefile.template')
| -rw-r--r-- | fml/doc/ja/Makefile.template | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/fml/doc/ja/Makefile.template b/fml/doc/ja/Makefile.template index 77bc8dee..20e5e349 100644 --- a/fml/doc/ja/Makefile.template +++ b/fml/doc/ja/Makefile.template @@ -1,5 +1,5 @@ # -# $FML: Makefile.template,v 1.8 2005/06/26 00:05:30 fukachan Exp $ +# $FML: Makefile.template,v 1.9 2005/11/19 03:40:41 fukachan Exp $ # TMP_DIR = ./tmp @@ -11,6 +11,11 @@ BOOK_ID = tips TARGET_HTML_DIR = ../../../../Documentation/ja/$(BOOK) TARGET_TEXT_DIR = ../../../../Documentation/ja/text +# version replacement hack +VERSION_REPLACE = perl ../../../../fml/utils/bin/version_replace.pl +BOOK_INFO = include/bookinfo.sgml +BOOK_INFO_COOKED = include/bookinfo.sgml.cooked + # programs (except for /bin/*) SGML_CC = ../../../../fml/utils/bin/sgml_compile.sh UNIQ = uniq @@ -65,6 +70,7 @@ ps: _init clean: $(FIND) . -type f -print |$(GREP) '~' |$(PERL) -nple unlink rm -f book.txt book.html + rm -f $(BOOK_INFO_COOKED) rm -fr $(SOURCE) export: _init html w3m @@ -82,3 +88,6 @@ _init: test -d $(TMP_DIR) || mkdir $(TMP_DIR) perl ../../../../fml/utils/bin/listup_recipes.pl > tmp/lor.sgml.new mv tmp/lor.sgml.new tmp/lor.sgml + test -f $(BOOK_INFO) && ( \ + $(VERSION_REPLACE) $(BOOK_INFO) > $(BOOK_INFO_COOKED);\ + ) |
