| version 1.22, 2005/06/10 16:14:20 |
version 1.23, 2005/06/11 01:47:09 |
|
|
| # Licensed under terms of GNU General Public License. |
# Licensed under terms of GNU General Public License. |
| # All rights reserved. |
# All rights reserved. |
| # |
# |
| # $Platon: platos/_templates/Rules.make,v 1.21 2005/05/30 21:58:23 rajo Exp $ |
# $Platon: platos/_templates/Rules.make,v 1.22 2005/06/10 16:14:20 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 91 RTF_COMPILER = $(LATEX2RTF) |
|
| Line 91 RTF_COMPILER = $(LATEX2RTF) |
|
| # PDFTEX_COMPILER = $(PDFTEX) |
# PDFTEX_COMPILER = $(PDFTEX) |
| # PDFTEX_COMPILER_BATCH = $(PDFTEX) -interaction=batchmode |
# PDFTEX_COMPILER_BATCH = $(PDFTEX) -interaction=batchmode |
| |
|
| ifeq ($(strip $(PLATON_STYLE)),) |
# |
| PLATON_STYLE = $(TOP_DIR)/_templates/platon-core.sty $(TOP_DIR)/_templates/platon.sty |
# Stylesheet macros |
| |
# {{{ |
| |
|
| |
ifeq ($(strip $(STYLESHEET)),) |
| |
STYLESHEET = platon |
| |
endif |
| |
|
| |
ifeq ($(strip $(STYLESHEET_DIR)),) |
| |
STYLESHEET_DIR = $(TOP_DIR)/_stylesheets/$(STYLESHEET) |
| endif |
endif |
| |
|
| |
ifeq ($(strip $(STYLESHEET_FILES)),) |
| |
STYLESHEET_FILES = $(shell find $(STYLESHEET_DIR) -mindepth 1 -maxdepth 1 \! \( -name 'CVS' -o -name '.svn' \) -print) |
| |
endif |
| |
|
| |
# }}} |
| |
|
| DEPEND_all = Makefile \ |
DEPEND_all = Makefile \ |
| $(PLATON_STYLE) \ |
$(STYLESHEET_FILES) \ |
| $(TOP_DIR)/_templates/platon-logo.eps \ |
|
| $(TOP_DIR)/_templates/platon-logo.png \ |
|
| $(IMAGES) \ |
$(IMAGES) \ |
| $(DEPEND) |
$(DEPEND) |
| export TOP_DIR |
export TOP_DIR |
| Line 439 endif # ifdef SUBDIRS |
|
| Line 451 endif # ifdef SUBDIRS |
|
| |
|
| ifneq ($(strip $(PREFIX)),) |
ifneq ($(strip $(PREFIX)),) |
| clean-postscript: |
clean-postscript: |
| -rm -rf PostScript/ |
-rm -rf PostScript/ $(prefix_ps__OUTPUT) |
| -rm -f $(prefix_ps__OUTPUT) |
|
| |
|
| clean-pdf: |
clean-pdf: |
| -rm -rf PDF/ |
-rm -rf PDF/ $(prefix_pdf_OUTPUT) |
| -rm -f $(prefix_pdf_OUTPUT) |
|
| |
|
| clean-html: |
clean-html: |
| -rm -rf HTML/ |
-rm -rf HTML/ $(prefix_htm_OUTPUT) |
| -rm -f $(prefix_htm_OUTPUT) |
|
| |
|
| clean-rtf: |
clean-rtf: |
| -rm -rf RTF/ |
-rm -rf RTF/ $(prefix_rtf_OUTPUT) |
| -rm -f $(prefix_rtf_OUTPUT) |
|
| else |
else |
| clean-postscript: |
clean-postscript: |
| -rm -rf PostScript/ |
-rm -rf PostScript/ |