aboutsummaryrefslogtreecommitdiff
path: root/man/Makefile
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2022-04-06 10:51:55 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2022-04-06 10:51:55 -0500
commit391d12db48754861b5cecac92ee3321597ee02c1 (patch)
treeb42fad5a31ca342de7b7ecf1fb78784194c1400c /man/Makefile
parent0efc1b133e4182bd53cde78153bd8b5cc2e99448 (diff)
migrate fully to meson build system
- drop old build system - move shared include and source files to common directory - drop "rc-" prefix from shared include and source files - move executable-specific code to individual directories under src - adjust top-level .gitignore file for new build system This closes #489.
Diffstat (limited to 'man/Makefile')
-rw-r--r--man/Makefile45
1 files changed, 0 insertions, 45 deletions
diff --git a/man/Makefile b/man/Makefile
deleted file mode 100644
index 006c8d16..00000000
--- a/man/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-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 \
- start-stop-daemon.8 supervise-daemon.8
-
-ifeq (${OS},Linux)
-MAN8 += rc-sstat.8 openrc-init.8 openrc-shutdown.8
-endif
-
-# Handy macro to create symlinks
-# This does rely on correctly formatting our manpages!
-MAKE_LINKS= suffix=$${man\#*.}; \
- prefix=$${man%%.*}; \
- for link in `sed -e 's/ ,//g' \
- -n -e '/^\.Sh NAME$$/,/\.Sh/ s/\.Nm //p' $${man}`; do \
- if test "$${link}" != "$${prefix}" ; then \
- ln -sf $${man} \
- ${DESTDIR}/${MANDIR}/man$${suffix}/$${link}.$${suffix} ; \
- fi; \
- done;
-
-include ${MK}/gitignore.mk
-
-all:
-
-install:
- ${INSTALL} -d ${DESTDIR}/${MANDIR}/man3
- for man in ${MAN3}; do \
- ${INSTALL} -m ${MANMODE} "$$man" ${DESTDIR}/${MANDIR}/man3 || exit $$?; \
- ${MAKE_LINKS} \
- done
- ${INSTALL} -d ${DESTDIR}/${MANDIR}/man8
- for man in ${MAN8}; do \
- ${INSTALL} -m ${MANMODE} "$$man" ${DESTDIR}/${MANDIR}/man8 || exit $$?; \
- ${MAKE_LINKS} \
- done
-
-check test::
-
-clean: