chiark / gitweb /
Start making into perl script
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 3 Dec 2020 14:35:16 +0000 (14:35 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 3 Dec 2020 14:35:16 +0000 (14:35 +0000)
Makefile [new file with mode: 0644]
pumpkin-books.ps.pl

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..97ed072
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,5 @@
+
+all:   pumpkin-books.ps
+
+pumpkin-books.ps: pumpkin-books.ps.pl
+       ./$< >$@.new && mv -f $@.new $@
index 7b0aca3083cd77bfe7beac625649c5b59d61aafc..f0d763fba0b2e843c7395a9cc7055c886fba363f 100755 (executable)
@@ -1,3 +1,8 @@
+#!/usr/bin/perl -w
+
+use strict;
+
+print <<END or die $!;
 %!
 
 72 25.4 div dup scale
@@ -69,3 +74,5 @@ gsave
   newpath
   0 0 spot 0.5 mul 0 360 arc fill
 grestore
+END
+