aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-03-26 13:59:06 +0000
committerRoy Marples <roy@marples.name>2008-03-26 13:59:06 +0000
commitac037241a72cdf830397a3b02d8873da3604fe4f (patch)
tree99c2a8ac826085bac90a41678fe4f4d3c4912624
parent6af2b20297afb9cca88eb4843997c87eb48a5429 (diff)
Merge doc dirs.
-rw-r--r--doc.Linux/Makefile5
-rw-r--r--doc/Makefile (renamed from doc.BSD/Makefile)2
-rw-r--r--doc/Makefile.FreeBSD5
-rw-r--r--doc/Makefile.Linux5
-rw-r--r--doc/Makefile.NetBSD5
-rw-r--r--doc/net.example.BSD.in (renamed from doc.BSD/net.example)0
-rw-r--r--doc/net.example.Linux.in (renamed from doc.Linux/net.example)0
7 files changed, 17 insertions, 5 deletions
diff --git a/doc.Linux/Makefile b/doc.Linux/Makefile
deleted file mode 100644
index 87d16f1c..00000000
--- a/doc.Linux/Makefile
+++ /dev/null
@@ -1,5 +0,0 @@
-DIR= ${DOCDIR}/openrc
-INC= net.example
-
-MK= ../mk
-include ${MK}/scripts.mk
diff --git a/doc.BSD/Makefile b/doc/Makefile
index 87d16f1c..b4dd962b 100644
--- a/doc.BSD/Makefile
+++ b/doc/Makefile
@@ -2,4 +2,6 @@ DIR= ${DOCDIR}/openrc
INC= net.example
MK= ../mk
+include ${MK}/os.mk
+include Makefile.${OS}
include ${MK}/scripts.mk
diff --git a/doc/Makefile.FreeBSD b/doc/Makefile.FreeBSD
new file mode 100644
index 00000000..d40d9427
--- /dev/null
+++ b/doc/Makefile.FreeBSD
@@ -0,0 +1,5 @@
+SRCS+= net.example.in
+
+.SUFFIXES: .BSD.in
+.BSD.in:
+ sed ${SED_REPLACE} ${SED_EXTRA} $< > $@
diff --git a/doc/Makefile.Linux b/doc/Makefile.Linux
new file mode 100644
index 00000000..5981ec1d
--- /dev/null
+++ b/doc/Makefile.Linux
@@ -0,0 +1,5 @@
+SRCS+= net.example.in
+
+.SUFFIXES: .Linux.in
+.Linux.in:
+ sed ${SED_REPLACE} ${SED_EXTRA} $< > $@
diff --git a/doc/Makefile.NetBSD b/doc/Makefile.NetBSD
new file mode 100644
index 00000000..d40d9427
--- /dev/null
+++ b/doc/Makefile.NetBSD
@@ -0,0 +1,5 @@
+SRCS+= net.example.in
+
+.SUFFIXES: .BSD.in
+.BSD.in:
+ sed ${SED_REPLACE} ${SED_EXTRA} $< > $@
diff --git a/doc.BSD/net.example b/doc/net.example.BSD.in
index 31d61055..31d61055 100644
--- a/doc.BSD/net.example
+++ b/doc/net.example.BSD.in
diff --git a/doc.Linux/net.example b/doc/net.example.Linux.in
index 80d50479..80d50479 100644
--- a/doc.Linux/net.example
+++ b/doc/net.example.Linux.in