| version 1.4, 2003/08/04 19:23:37 |
version 1.5, 2003/11/28 22:50:32 |
|
|
| # 31/07/2003 - created |
# 31/07/2003 - created |
| # |
# |
| |
|
| # $Platon: doc/soft-doc-sys/Makefile,v 1.3 2003/08/04 19:04:35 rajo Exp $ |
# $Platon: doc/soft-doc-sys/Makefile,v 1.4 2003/08/04 19:23:37 rajo Exp $ |
| |
|
| # Makefile for creating distribution of soft-doc-sys package |
# Makefile for creating distribution of soft-doc-sys package |
| # Type 'make dist' for create tar-gziped archiv. |
# Type 'make dist' for create tar-gziped archiv. |
|
|
| ZIP = zip |
ZIP = zip |
| ZIP_ENV = -r9 |
ZIP_ENV = -r9 |
| GZIP_ENV = --best |
GZIP_ENV = --best |
| DB2HTML = db2html |
DOCBOOK2HTML = docbook2html |
| DB2PDF = db2pdf |
DOCBOOK2PDF = docbook2pdf |
| |
|
| # }}} Programs |
# }}} Programs |
| |
|
| Line 104 html: $(HTML_OUTPUT) |
|
| Line 104 html: $(HTML_OUTPUT) |
|
| pdf: $(PDF_OUTPUT) |
pdf: $(PDF_OUTPUT) |
| |
|
| doc/en/pdf/%.pdf: $(EN_SGML) |
doc/en/pdf/%.pdf: $(EN_SGML) |
| $(DB2PDF) en/index.sgml && mv index.pdf "$@" |
$(DOCBOOK2PDF) en/index.sgml && mv index.pdf "$@" |
| |
|
| doc/sk/pdf/%.pdf: $(SK_SGML) |
doc/sk/pdf/%.pdf: $(SK_SGML) |
| SP_ENCODING=ISO-8859-2; \ |
SP_ENCODING=ISO-8859-2; \ |
| $(DB2PDF) sk/index.sgml && mv index.pdf "$@" |
$(DOCBOOK2PDF) sk/index.sgml && mv index.pdf "$@" |
| |
|
| doc/en/html/*: |
doc/en/html/*: |
| doc/en/html/%.html: $(EN_SGML) |
doc/en/html/%.html: $(EN_SGML) |
| $(DB2HTML) en/index.sgml && mv en/index doc/en/html |
$(DOCBOOK2HTML) -o doc/en/html en/index.sgml |
| |
|
| doc/sk/html/*: |
doc/sk/html/*: |
| doc/sk/html/%.html: $(SK_SGML) |
doc/sk/html/%.html: $(SK_SGML) |
| $(DB2HTML) sk/index.sgml && mv sk/index doc/sk/html |
$(DOCBOOK2HTML) -o doc/sk/html sk/index.sgml |
| |
|
| doc/slides/%: |
doc/slides/%: |
| ln -s "../../slides/$(*F)" "$@" |
ln -s "../../slides/$(*F)" "$@" |
| Line 190 distdir: $(DISTFILES) |
|
| Line 190 distdir: $(DISTFILES) |
|
| |
|
| # vim600: fdm=marker fdc=3 |
# vim600: fdm=marker fdc=3 |
| |
|
| |
|