Commit: b5fa08e23ec7afe00bc0283d19a3a8ed3af4bb44 Parent: e35672b6ac7ecaacbbe7b80da344f013b590828d Author: Vi Grey Date: 2023-11-29 14:33 UTC Summary: Add ghostscript command to Makefile Makefile | 4 +++- README.txt | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d0ff1a9..ed1cae9 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,9 @@ CURRENTDIR := $(dir $(realpath $(firstword $(MAKEFILE_LIST)))) all: mkdir -p $(CURRENTDIR)build; \ - groff -Tpdf -ms -t -P-p11i,8.5i $(DOC_NAME).ms > $(CURRENTDIR)build/$(DOC_NAME).pdf + groff -Tpdf -ms -t -P-p11i,8.5i $(DOC_NAME).ms > $(CURRENTDIR)build/$(DOC_NAME).pdf; \ + gs -o $(CURRENTDIR)build/$(DOC_NAME)-out.pdf -sDEVICE=pdfwrite $(CURRENTDIR)build/$(DOC_NAME).pdf; \ + mv $(CURRENTDIR)build/$(DOC_NAME)-out.pdf $(CURRENTDIR)build/$(DOC_NAME).pdf clean: rm -rf -- $(CURRENTDIR)build; \ diff --git a/README.txt b/README.txt index ba46a15..4a13813 100644 --- a/README.txt +++ b/README.txt @@ -6,6 +6,7 @@ This is my resume written in troff using the ms macros ## Required Dependencies on Systems That are Not Plan9 * groff +* ghostscript ## Required Dependencies on Plan9