From ac037241a72cdf830397a3b02d8873da3604fe4f Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 26 Mar 2008 13:59:06 +0000 Subject: [PATCH] Merge doc dirs. --- doc.Linux/Makefile | 5 ----- {doc.BSD => doc}/Makefile | 2 ++ doc/Makefile.FreeBSD | 5 +++++ doc/Makefile.Linux | 5 +++++ doc/Makefile.NetBSD | 5 +++++ doc.BSD/net.example => doc/net.example.BSD.in | 0 doc.Linux/net.example => doc/net.example.Linux.in | 0 7 files changed, 17 insertions(+), 5 deletions(-) delete mode 100644 doc.Linux/Makefile rename {doc.BSD => doc}/Makefile (63%) create mode 100644 doc/Makefile.FreeBSD create mode 100644 doc/Makefile.Linux create mode 100644 doc/Makefile.NetBSD rename doc.BSD/net.example => doc/net.example.BSD.in (100%) rename doc.Linux/net.example => doc/net.example.Linux.in (100%) 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 similarity index 63% rename from doc.BSD/Makefile rename to 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 similarity index 100% rename from doc.BSD/net.example rename to doc/net.example.BSD.in diff --git a/doc.Linux/net.example b/doc/net.example.Linux.in similarity index 100% rename from doc.Linux/net.example rename to doc/net.example.Linux.in