* [gentoo-commits] proj/openrc:master commit in: /, mk/, support/deptree2dot/, support/sysvinit/, support/, support/openvpn/
@ 2017-02-18 22:03 William Hubbs
0 siblings, 0 replies; only message in thread
From: William Hubbs @ 2017-02-18 22:03 UTC (permalink / raw
To: gentoo-commits
commit: 9047ea4cb0d0e5e27704369380e128d26c3e86b2
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Fri Feb 17 18:52:38 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sat Feb 18 21:52:28 2017 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=9047ea4c
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.
Makefile | 2 +-
mk/sys.mk | 3 +++
support/Makefile | 20 ++++++++++++++++++++
support/deptree2dot/Makefile | 9 +++++++++
support/openvpn/Makefile | 9 +++++++++
support/sysvinit/Makefile | 8 ++++++++
6 files changed, 50 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 5ee4a253..05cfb796 100644
--- a/Makefile
+++ b/Makefile
@@ -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
diff --git a/mk/sys.mk b/mk/sys.mk
index 47d95267..62793739 100644
--- a/mk/sys.mk
+++ b/mk/sys.mk
@@ -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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-02-18 22:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-18 22:03 [gentoo-commits] proj/openrc:master commit in: /, mk/, support/deptree2dot/, support/sysvinit/, support/, support/openvpn/ William Hubbs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox