From 9a539ebbe1ee0c8557fbcdf22e849534dcbd9b53 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 19 Oct 2011 21:30:39 -0400 Subject: further clean up OS differences in makefiles No need for if() logic. Signed-off-by: Mike Frysinger --- doc/Makefile | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) (limited to 'doc/Makefile') diff --git a/doc/Makefile b/doc/Makefile index 4fbc99ce..81e621ba 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,27 +1,11 @@ DIR= ${DOCDIR}/openrc +SRCS= net.example.in INC= net.example MK= ../mk include ${MK}/os.mk -ifeq (${OS},FreeBSD) -SRCS+= net.example.in - -.SUFFIXES: .BSD.in -.BSD.in: - ${CP} $< $@ -else ifeq (${OS},Linux) -SRCS+= net.example.in - -.SUFFIXES: .Linux.in -.Linux.in: - ${CP} $< $@ -else ifeq (${OS},NetBSD) -SRCS+= net.example.in - -.SUFFIXES: .BSD.in -.BSD.in: +${SFX}: ${CP} $< $@ -endif include ${MK}/scripts.mk -- cgit v1.2.3