Revision 2fd48eaa903b82268f5a81927d79ad1f58cd4dd6 authored by Antoine R. Dumont (@ardumont) on 07 August 2020, 21:03:31 UTC, committed by Antoine R. Dumont (@ardumont) on 07 August 2020, 21:03:31 UTC
1 parent 740985e
Raw File
Makefile

BUILD_TARGETS =
BUILD_TARGETS += swh-archive-copies.pdf swh-archive-copies.svg

all: $(BUILD_TARGETS)

%.svg: %.dia
	dia -e $@ $<

%.pdf: %.svg
	set -e; if [ $$(inkscape --version 2>/dev/null | grep -Eo '[0-9]+' | head -1) -gt 0 ]; then \
	  inkscape -o $@ $< ; \
	else \
	  inkscape -A $@ $< ; \
	fi

clean:
	-rm -f $(BUILD_TARGETS)
back to top