diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2017-02-17 12:52:38 -0600 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2017-02-18 15:52:28 -0600 |
commit | 9047ea4cb0d0e5e27704369380e128d26c3e86b2 (patch) | |
tree | 387420ba6318711d9d8050eba4b9d375d4b4b234 | |
parent | d7f5a696c173e7af67dd4b3f90744e0a056441e1 (diff) |
install support files
These files have been in the distribution for some time but haven't been
installed. They are good examples of how to do things, so we should
install them.
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | mk/sys.mk | 3 | ||||
-rw-r--r-- | support/Makefile | 20 | ||||
-rw-r--r-- | support/deptree2dot/Makefile | 9 | ||||
-rw-r--r-- | support/openvpn/Makefile | 9 | ||||
-rw-r--r-- | support/sysvinit/Makefile | 8 |
6 files changed, 50 insertions, 1 deletions
@@ -13,7 +13,7 @@ MK= ${TOP}/mk include ${TOP}/Makefile.inc -SUBDIR= conf.d etc init.d local.d man scripts sh src sysctl.d +SUBDIR= conf.d etc init.d local.d man scripts sh src support sysctl.d # Build pkgconfig or not MKPKGCONFIG?= yes @@ -59,6 +59,9 @@ MANPREFIX?= ${UPREFIX}/share MANDIR?= ${MANPREFIX}/man MANMODE?= 0444 +DATADIR?= ${UPREFIX}/share/openrc +DATAMODE?= 0644 + DOCDIR?= ${UPREFIX}/share/doc DOCMODE?= 0644 diff --git a/support/Makefile b/support/Makefile new file mode 100644 index 00000000..a183e9f7 --- /dev/null +++ b/support/Makefile @@ -0,0 +1,20 @@ +# Copyright (c) 2017 the OpenRC Authors. +# See the Authors file at the top-level directory of this distribution and +# https://github.com/OpenRC/openrc/blob/master/AUTHORS +# +# This file is part of OpenRC. It is subject to the license terms in +# the LICENSE file found in the top-level directory of this +# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE +# This file may not be copied, modified, propagated, or distributed +# except according to the terms contained in the LICENSE file. + +MK= ../mk +include ${MK}/os.mk + +SUBDIR= deptree2dot openvpn + +ifeq (${OS},Linux) +SUBDIR+= sysvinit +endif + +include ${MK}/subdir.mk diff --git a/support/deptree2dot/Makefile b/support/deptree2dot/Makefile new file mode 100644 index 00000000..b7f6e392 --- /dev/null +++ b/support/deptree2dot/Makefile @@ -0,0 +1,9 @@ +MK= ../../mk +include ${MK}/os.mk + +DIR= ${DATADIR}/support/deptree2dot +BIN= deptree2dot +INC= README.md + + +include ${MK}/scripts.mk diff --git a/support/openvpn/Makefile b/support/openvpn/Makefile new file mode 100644 index 00000000..d836f084 --- /dev/null +++ b/support/openvpn/Makefile @@ -0,0 +1,9 @@ +MK= ../../mk +include ${MK}/os.mk + +DIR= ${DATADIR}/support/openvpn +BIN= down.sh up.sh +INC= README.md + + +include ${MK}/scripts.mk diff --git a/support/sysvinit/Makefile b/support/sysvinit/Makefile new file mode 100644 index 00000000..b2071611 --- /dev/null +++ b/support/sysvinit/Makefile @@ -0,0 +1,8 @@ +MK= ../../mk +include ${MK}/os.mk + +DIR= ${DATADIR}/support/sysvinit +INC= inittab README.md + + +include ${MK}/scripts.mk |