| version 1.21, 2005/05/30 21:58:23 |
version 1.22, 2005/06/10 16:14:20 |
|
|
| # Licensed under terms of GNU General Public License. |
# Licensed under terms of GNU General Public License. |
| # All rights reserved. |
# All rights reserved. |
| # |
# |
| # $Platon: Platon.SK/office/_templates/Rules.make,v 1.20 2005/05/29 01:59:18 rajo Exp $ |
# $Platon: platos/_templates/Rules.make,v 1.21 2005/05/30 21:58:23 rajo Exp $ |
| # |
# |
| |
|
| ps__OUTPUT = $(shell sed 's/\#.*$$//g;' ps__OUTPUT 2>/dev/null) |
ps__OUTPUT = $(shell sed 's/\#.*$$//g;' ps__OUTPUT 2>/dev/null) |
| Line 96 PLATON_STYLE = $(TOP_DIR)/_templates/pla |
|
| Line 96 PLATON_STYLE = $(TOP_DIR)/_templates/pla |
|
| endif |
endif |
| |
|
| DEPEND_all = Makefile \ |
DEPEND_all = Makefile \ |
| ps__OUTPUT \ |
|
| pdf_OUTPUT \ |
|
| htm_OUTPUT \ |
|
| rtf_OUTPUT \ |
|
| $(PLATON_STYLE) \ |
$(PLATON_STYLE) \ |
| $(TOP_DIR)/_templates/platon-logo.eps \ |
$(TOP_DIR)/_templates/platon-logo.eps \ |
| $(TOP_DIR)/_templates/platon-logo.png \ |
$(TOP_DIR)/_templates/platon-logo.png \ |
| Line 325 endif # }}} ifdef PREFIX |
|
| Line 321 endif # }}} ifdef PREFIX |
|
| %.ps: %.dvi $(ps__OUTPUT_first) $(ps__OUTPUT_second) $(ps__OUTPUT_third) |
%.ps: %.dvi $(ps__OUTPUT_first) $(ps__OUTPUT_second) $(ps__OUTPUT_third) |
| $(DVIPS) -o $@ $< |
$(DVIPS) -o $@ $< |
| |
|
| %.pdf: $(pdf_OUTPUT_first) $(DEPEND_all) |
%.pdf: $(pdf_OUTPUT_first) $(DEPEND_all) pdf_OUTPUT |
| @file="`echo '$@'`"; \ |
@file="`echo '$@'`"; \ |
| echo "$(PDFTEX_COMPILER) $${file%.pdf}.tex"; \ |
echo "$(PDFTEX_COMPILER) $${file%.pdf}.tex"; \ |
| $(PDFTEX_COMPILER) $${file%.pdf}.tex |
$(PDFTEX_COMPILER) $${file%.pdf}.tex |
| |
|
| %.html: $(htm_OUTPUT_first) $(DEPEND_all) |
%.html: $(htm_OUTPUT_first) $(DEPEND_all) htm_OUTPUT |
| @file="`echo '$@'`"; \ |
@file="`echo '$@'`"; \ |
| echo "$(HTML_COMPILER) $${file%.html}.tex"; \ |
echo "$(HTML_COMPILER) $${file%.html}.tex"; \ |
| $(HTML_COMPILER) $${file%.html}.tex; \ |
$(HTML_COMPILER) $${file%.html}.tex; \ |
| ln $${file%.html}/$${file%.html}.html |
ln $${file%.html}/$${file%.html}.html |
| |
|
| %.rtf: $(rtf_OUTPUT_first) $(DEPEND_all) |
%.rtf: $(rtf_OUTPUT_first) $(DEPEND_all) rtf_OUTPUT |
| @file="`echo '$@'`"; \ |
@file="`echo '$@'`"; \ |
| echo "$(RTF_COMPILER) $${file%.rtf}.tex"; \ |
echo "$(RTF_COMPILER) $${file%.rtf}.tex"; \ |
| $(RTF_COMPILER) $${file%.rtf}.tex; |
$(RTF_COMPILER) $${file%.rtf}.tex; |
| Line 344 endif # }}} ifdef PREFIX |
|
| Line 340 endif # }}} ifdef PREFIX |
|
| |
|
| %.dvi: .third.%.ps |
%.dvi: .third.%.ps |
| |
|
| .third.%.ps: %.tex $(DEPEND_all) .second.%.ps |
.third.%.ps: %.tex $(DEPEND_all) ps__OUTPUT .second.%.ps |
| $(TEX_COMPILER) $< \ |
$(TEX_COMPILER) $< \ |
| && touch $@ |
&& touch $@ |
| |
|