mirror of
https://github.com/bspeice/qadapt
synced 2024-11-21 21:38:10 -05:00
20 lines
579 B
Makefile
20 lines
579 B
Makefile
.PHONY: all
|
|
all:
|
|
@echo 'Please use `cargo` commands to manage building/testing qadapt'
|
|
|
|
.PHONY: contributors
|
|
contributors:
|
|
@echo '`qadapt` is developed by:' > CONTRIBUTORS.md
|
|
@echo ' Bradlee Speice <bradlee@speice.io>' >> CONTRIBUTORS.md
|
|
@git log --format=' %aN <%aE>' | grep -v "Bradlee Speice <bradlee@speice.io>" | grep -v "users.noreply" | sort -u >> CONTRIBUTORS.md
|
|
|
|
.PHONY: readme README.md
|
|
readme: README.md
|
|
|
|
README.md: src/lib.rs
|
|
@sed -i '/---/q' README.md
|
|
@cat src/lib.rs | grep '//!' | sed -E 's/^\/\/\! ?//g' >> README.md
|
|
|
|
.PHONY: doc
|
|
doc: readme contributors
|