summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKurt <kurt.w.jung@gmail.com>2019-05-18 08:08:21 -0400
committerKurt <kurt.w.jung@gmail.com>2019-05-18 08:08:21 -0400
commit5f4e2f65402b9aa611f93b2fa14ea69bf7b26d2d (patch)
tree0866c2a0b794887b4aee16aa2be2a279917fe14e /Makefile
parente4895cb2e4a6b49e241d7668740c1a557ef4b8c5 (diff)
Generalize awk script that produces doc.go
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f2590bd..90624c5 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ doc/index.html : doc/document.md doc/html.txt
--metadata pagetitle="GoFPDF Document Generator" < $< > $@
doc.go : doc/document.md doc/go.awk
- pandoc --read=markdown --write=plain $< | awk -f doc/go.awk > $@
+ pandoc --read=markdown --write=plain $< | awk --assign=package_name=gofpdf --file=doc/go.awk > $@
gofmt -s -w $@
build :