restic/vendor/cloud.google.com/go/firestore/internal/Makefile
2017-10-22 10:07:36 +02:00

10 lines
267 B
Makefile

# Build doc.go from template and snippets.
SHELL=/bin/bash
../doc.go: doc-snippets.go doc.template snipdoc.awk
@tmp=$$(mktemp) && \
awk -f snipdoc.awk doc-snippets.go doc.template > $$tmp && \
chmod +w ../doc.go && \
mv $$tmp ../doc.go && \
chmod -w ../doc.go