From 5f4e2f65402b9aa611f93b2fa14ea69bf7b26d2d Mon Sep 17 00:00:00 2001 From: Kurt Date: Sat, 18 May 2019 08:08:21 -0400 Subject: Generalize awk script that produces doc.go --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') 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 : -- cgit v1.2.1-24-ge1ad