]> pere.pagekite.me Git - text-rms-personal-data-safe.git/commitdiff
Adjust PDF size and margins. Remove htmls in distclean.
authorPetter Reinholdtsen <pere@hungry.com>
Wed, 28 Oct 2020 05:14:10 +0000 (06:14 +0100)
committerPetter Reinholdtsen <pere@hungry.com>
Wed, 28 Oct 2020 05:14:10 +0000 (06:14 +0100)
Makefile

index 0d688baa01b0d7c147ca533bc01aa3e24c2186ee..0d5995426443eb9b95d33c41202adb68b7ac0946 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ markdown: $(MDS)
 
 pdf: $(PDFS)
 %.pdf: %.md
-       pandoc -t latex $^ -o $@
+       pandoc --variable papersize=A4 --variable geometry=margin=2cm -t latex $^ -o $@
 
 html: $(HTMLS)
 .md.html:
@@ -51,7 +51,7 @@ po/A_radical_proposal_to_keep_your_personal_data_safe.nn.po: po/A_radical_propos
 clean:
        $(RM) *~ po/*~
 distclean: clean
-       $(RM) $(PDFS)
+       $(RM) $(PDFS) $(HTMLS)
 
 stats:
        for f in po/*.po; do printf "$$f "; msgfmt --output /dev/null --statistics $$f; done