mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2024-11-23 20:50:18 +01:00
82493d6dcb
* GDrive provider support * More reliable basedir ownership * Fix mimetype
16 lines
319 B
Text
16 lines
319 B
Text
# Build doc.go from template and snippets.
|
|
|
|
SHELL=/bin/bash
|
|
|
|
../doc.go: build doc-snippets.go doc.template snipdoc.awk
|
|
@tmp=$$(mktemp) && \
|
|
awk -f snipdoc.awk doc-snippets.go doc.template > $$tmp && \
|
|
chmod +w $@ && \
|
|
mv $$tmp $@ && \
|
|
chmod -w $@
|
|
@echo "wrote $@"
|
|
|
|
.PHONY: build
|
|
|
|
build:
|
|
go build doc-snippets.go
|