aboutsummaryrefslogtreecommitdiff
path: root/man/Makefile
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2015-06-09 16:19:51 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2015-06-10 18:45:29 -0500
commitd2ce07e227ec95370e8aee5f1199edc6ad61aff9 (patch)
tree0bd2299b11b978d8dae35be53421c343e8314386 /man/Makefile
parentb209fe3859c05c286037843bb34058f849c54b15 (diff)
Add rc-sstat script
The rc-sstat script is written to display status of s6 services and run rc-status to display all services status. This currently only works on Linux.
Diffstat (limited to 'man/Makefile')
-rw-r--r--man/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/man/Makefile b/man/Makefile
index 436f647d..73db2a8e 100644
--- a/man/Makefile
+++ b/man/Makefile
@@ -1,9 +1,17 @@
+MK= ../mk
+include ${MK}/sys.mk
+include ${MK}/os.mk
+
MAN3= einfo.3 \
rc_config.3 rc_deptree.3 rc_find_pids.3 rc_plugin_hook.3 \
rc_runlevel.3 rc_service.3 rc_stringlist.3
MAN8= rc-service.8 rc-status.8 rc-update.8 openrc.8 openrc-run.8 \
service.8 start-stop-daemon.8
+ifeq (${OS},Linux)
+MAN8 += rc-sstat.8
+endif
+
# Handy macro to create symlinks
# This does rely on correctly formatting our manpages!
MAKE_LINKS= suffix=$${man\#*.}; \
@@ -16,8 +24,6 @@ MAKE_LINKS= suffix=$${man\#*.}; \
fi; \
done;
-MK= ../mk
-include ${MK}/sys.mk
include ${MK}/gitignore.mk
all: