1234567891011121314151617181920212223242526 |
- # ---------- ---------- ---------- ---------- ---------- ----------
- #
- # api-public-information
- #
- # ---------- ---------- ---------- ---------- ---------- ----------
- target: all
- .PHONY: all
- all:
- @echo "Usage: make [PHONY]"
- @sed -n -e '/sed/! s/\.PHONY: //p' Makefile
- .PHONY: rebuild
- rebuild: clean build
- .PHONY: build
- build:
- @cp -rp src/ output/
- @cd output/ && find . -name '*.py' -exec sh -c 'mv "$$0" "$${0%.py}.cgi"' {} \;
- @cd output/ && chmod +x *.cgi
- .PHONY: clean
- clean:
- @rm -rf output/
|