Skip to content

Commit

Permalink
Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
dlp committed May 22, 2019
1 parent 50300ee commit fd35953
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .hgignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
syntax: glob

*.pdf
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,18 @@
SHELL := /bin/bash

PS2PDF := ps2pdf -dNOSAFER -sPAPERSIZE=a4 -dEmbedAllFonts=true
DEFINES := -Dseed=$${SEED:-$$RANDOM}

.PHONY: all clean

all:
@echo "Run 'make filename.pdf' to deploy"

%.show: %.ps
gs -Dseed=$${SEED:-$$RANDOM} $<
gs $(DEFINES) $<

%.pdf: %.ps
$(PS2PDF) $< $@
$(PS2PDF) $(DEFINES) $< $@

clean:
rm -f *.pdf
Binary file modified ellers.ps
Binary file not shown.

0 comments on commit fd35953

Please sign in to comment.