Skip to content

Instantly share code, notes, and snippets.

@usagi usagi/Makefile

Created Apr 4, 2012
What would you like to do?
append darkhttpd to your Makefile sample
@ mkdir tmp
@ darkhttpd _site --index main.html
test-darkhttpd-daemon-start: tmp
@ darkhttpd _site --index main.html --daemon --pidfile tmp/
test-darkhttpd-daemon-stop: tmp/
@ kill `cat tmp/`
test-darkhttpd-daemon-restart: test-darkhttpd-daemon-stop test-darkhttpd-daemon-start

This comment has been minimized.

Copy link
Owner Author

usagi commented Apr 4, 2012

link to the article as my blog:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.