wildcard Makefile for RFCs
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 3 Oct 2022 20:26:10 +0000 (21:26 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 3 Oct 2022 20:26:18 +0000 (21:26 +0100)
openpower/sv/rfc/Makefile

index bb2137c52c7be022ab2ff527e43894f4a8be317c..2ca30e180bf05429d7159a9b23aedd265abeee37 100644 (file)
@@ -1,6 +1,6 @@
-all: ls001.pdf
+all: ls001.pdf ls002.pdf
 
-ls001.pdf: ls001.mdwn
+%.pdf: %.mdwn
        pandoc \
             -V margin-top=0.9in \
             -V margin-bottom=0.9in \
@@ -9,9 +9,9 @@ ls001.pdf: ls001.mdwn
               -V fontsize=9pt \
               -V papersize=legal \
               -V linkcolor=blue \
-            -f markdown ls001.mdwn \
+            -f markdown $*.mdwn \
             -s --normalize --smart --self-contained \
-            -o ls001.pdf
+            -o $*.pdf
 
 upload : 
        rsync -HPavz *.pdf libre-soc.org:opf_isa_wg/