diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-10-19 21:30:39 -0400 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2011-10-20 14:32:37 -0500 |
commit | 9a539ebbe1ee0c8557fbcdf22e849534dcbd9b53 (patch) | |
tree | 9936901aa8c8231d49145894456ff6f40a74c0ae /doc | |
parent | 9c77502f964ef368892598b4fb30c4909fe3d360 (diff) |
further clean up OS differences in makefiles
No need for if() logic.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Makefile | 20 |
1 files changed, 2 insertions, 18 deletions
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 |