diff options
author | Tobi Oetiker <tobi@oetiker.ch> | 2011-09-29 13:36:39 +0200 |
---|---|---|
committer | Tobi Oetiker <tobi@oetiker.ch> | 2011-09-29 13:36:39 +0200 |
commit | 4ab769579b0aeafd81878ddb332b726c44dc2ffc (patch) | |
tree | 19bce950fe029dc5a322ac37f3810de2bfabe90f /htdocs/Makefile.am | |
parent | d6136cf5bb98c3b52d54f9b0c9042a54169bfb5b (diff) | |
download | smokeping-4ab769579b0aeafd81878ddb332b726c44dc2ffc.tar.gz smokeping-4ab769579b0aeafd81878ddb332b726c44dc2ffc.tar.xz |
improve webserver docu and sample script
Diffstat (limited to 'htdocs/Makefile.am')
-rw-r--r-- | htdocs/Makefile.am | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/htdocs/Makefile.am b/htdocs/Makefile.am index 11b69e7..d8c592c 100644 --- a/htdocs/Makefile.am +++ b/htdocs/Makefile.am @@ -27,5 +27,8 @@ EXTRA_DIST = $(JS) $(CGI) jsdir = $(DESTDIR)$(HTDOCSDIR) nobase_js_DATA = $(JS) -js_SCRIPTS = $(CGI) +install-data-local: + $(ECHO) "#!/bin/sh" > $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.dist + $(ECHO) "$(prefix)/bin/smokeping_cgi $(prefix)/etc/config" >> $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.dist + chmod +x $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.dist |