summaryrefslogtreecommitdiff
path: root/fml/doc
diff options
context:
space:
mode:
authorfukachan <fukachan>2009-12-26 13:26:55 +0000
committerfukachan <fukachan>2009-12-26 13:26:55 +0000
commit76fcc641138dc60489cca1ff100d121f8ea2e55f (patch)
tree4534e53a0530afb31d5a92143372e56aadf0db7d /fml/doc
parent98f00d14dbc6121aa1ec5305acf20165bbe8d4c0 (diff)
downloadfml8-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')
-rw-r--r--fml/doc/ja/Makefile.template11
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);\
+ )