linuxkurs/img/organigram/Makefile

23 lines
359 B
Makefile
Raw Permalink Normal View History

2018-12-11 10:48:20 +01:00
BASES = en/organisation es/organizacion de/organisation
EXTS = eps png pdf
FILES = $(foreach ext,$(EXTS),$(foreach base,$(BASES),$(base).$(ext)))
.PHONY: all
all: $(FILES)
%.eps: %.svg
inkscape --export-eps=$@ $<
%.eps: %.fig
fig2dev -L eps $< $@
%.png: %.eps
convert $< $@
%.pdf: %.eps
epstopdf --outfile=$@ $<
.PHONY: clean
clean:
rm -f $(FILES)