Skip to content

Instantly share code, notes, and snippets.

@usagi usagi/Makefile

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

This comment has been minimized.

Copy link
Owner Author

usagi commented Apr 4, 2012

link to the article as my blog: http://usagi.hatenablog.jp/entry/2012/04/04/204154

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.