mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2024-11-30 16:10:19 +01:00
82493d6dcb
* GDrive provider support * More reliable basedir ownership * Fix mimetype
16 lines
319 B
Makefile
16 lines
319 B
Makefile
# 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
|