linuxkurs/img/organigram/Makefile
2018-12-11 10:48:20 +01:00

23 lines
359 B
Makefile

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)