# # Makefile - Template Makefile for Platon SDG documents # # Developed by Lubomir Host 'rajo' # Copyright (c) 2004 Platon SDG # Licensed under terms of GNU General Public License. # All rights reserved. # # $Platon: Platon.SK/office/products/Metafox/Makefile,v 1.1 2004/12/21 17:41:08 nepto Exp $ # # here specify name of your document PACKAGE = @DIRNAME@ VERSION = $(shell date "+%y-%m-%d-%H-%M") distdir = $(PACKAGE)-$(VERSION) TOP_DIR = ../.. # define next variable, if you wish use autoprefix PREFIX = Metafox # Uncomment next line if you wish automaticaly add directory name to the # name of output file #APPEND_DIRNAME = 1 # Nazov vystupneho PostScriptoveho suboru (alebo PDF suboro[v]) # sa pise do suborov ps__OUTPUT a pdf_OUTPUT ps__OUTPUT = $(shell cat ps__OUTPUT 2>/dev/null) pdf_OUTPUT = $(shell cat pdf_OUTPUT 2>/dev/null) # Dalsie pridavne obrazky alebo vstupne subory, ktore sa nijako nevytvaraju IMAGES = # dalsie subory, ktore su potrebne pre vysadzanie DEPEND = Makefile 00-macros.tex presentation-04-12-20.tex pricelist-04-12-20.tex DISTFILES = Makefile \ 00-macros.tex \ presentation-04-07-20.tex \ pricelist-04-07-20.tex \ ps__OUTPUT \ pdf_OUTPUT \ $(DEPEND) #$(OUTPUT) ######################################## ######################################## ## END of user setup ######################################## ######################################## $(PREFIX)%.pdf:: $(PREFIX)%.ps $(PS2PDF) $< # include rules from Rules.make: -include $(TOP_DIR)/_templates/Rules.make ps2pdf__INPUT = $(patsubst %.ps,%.pdf,$(ps__OUTPUT)) ps2pdf_OUTPUT = $(patsubst %,$(PREFIX)-%,$(ps2pdf__INPUT)) #all: ps2pdf all: ps2pdf: $(ps2pdf_OUTPUT) clean: clean-ps2pdf clean-ps2pdf: rm -f $(ps2pdf_OUTPUT) # vim: ts=4 isk+=- ft=make # vim600: fdm=marker fdc=3