summaryrefslogtreecommitdiffstats
path: root/grafik/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--grafik/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/grafik/Makefile b/grafik/Makefile
index 8840277..6b4d026 100644
--- a/grafik/Makefile
+++ b/grafik/Makefile
@@ -3,6 +3,7 @@ EBENENSVG=$(foreach file, ${EBENEN}, tastatur3d/${file})
HAUPT=$(foreach file, ${EBENEN}, tastatur3d/hauptfeld/${file})
ZIFFERN=$(foreach file, ${EBENEN}, tastatur3d/ziffernfeld/${file})
HAUPTZIFFERN=$(foreach file, ${EBENEN}, tastatur3d/haupt_ziffern_feld/${file})
+EBENENPDF=$(addsuffix .pdf,$(basename ${EBENENSVG}))
EBENENPNG=$(addsuffix .png,$(basename ${EBENENSVG} ${HAUPT} ${ZIFFERN} ${HAUPTZIFFERN}))
SVGFILES=$(filter-out ./tastatur3d/tastatur_neo_%.svg, $(shell find -name "*.svg"))
@@ -10,14 +11,14 @@ PDFFILES=$(addsuffix .pdf,$(basename ${SVGFILES}))
PNGFILES=$(addsuffix .png,$(basename ${SVGFILES}))
default: pdf png
-pdf: ${PDFFILES}
+pdf: ${PDFFILES} ${EBENENPDF}
png: ${PNGFILES} ${EBENENPNG} www
www: $(addsuffix .png,$(basename $(shell find ../www -name "*.svg")))
clean: cleanpng cleanpdf
cleanebenen:
- rm -f ${EBENENSVG} ${EBENENPNG}
+ rm -f ${EBENENSVG} ${EBENENPNG} ${EBENENPDF}
$(foreach dir, hauptfeld ziffernfeld haupt_ziffern_feld, if [ -d tastatur3d/${dir} ];then rmdir tastatur3d/${dir}; fi;)
cleanpng: cleanebenen