# this file: # https://dataswamp.org/~incal/about/cv/Makefile name = cv txt = $(name).txt ps = $(name).ps pdf = $(name).pdf all: $(pdf) $(pdf): $(ps) ps2pdf $< $@ pdfinfo $@ \ | grep "^Pages:" \ | tr -s " " \ | tr [:upper:] [:lower:] $(ps): $(txt) paps $< > $@ clean: rm -f $(pdf) $(ps) again: ${MAKE} clean ${MAKE} all