summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2001-03-25 00:47:25 +0000
committermillert <millert@openbsd.org>2001-03-25 00:47:25 +0000
commit4bd367b0dfff903c2a9873b5e7e3960ef6243c9d (patch)
treef2be3fd0ec2680bb2bbbe5c15caae36c4afeac2e
parentshorten; ok markus@ (diff)
downloadwireguard-openbsd-4bd367b0dfff903c2a9873b5e7e3960ef6243c9d.tar.xz
wireguard-openbsd-4bd367b0dfff903c2a9873b5e7e3960ef6243c9d.zip
Get rid of doc hacks, set SUBDIR and use bsd.subdir.mk. Apparently I
was on drugs earlier.
-rw-r--r--gnu/lib/libreadline/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/gnu/lib/libreadline/Makefile b/gnu/lib/libreadline/Makefile
index 5e3a2f86a1f..14ae396c42f 100644
--- a/gnu/lib/libreadline/Makefile
+++ b/gnu/lib/libreadline/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 2001/03/23 03:57:24 millert Exp $
+# $OpenBSD: Makefile,v 1.4 2001/03/25 00:47:25 millert Exp $
LIB= readline
SRCS= readline.c funmap.c keymaps.c vi_mode.c parens.c rltty.c complete.c \
@@ -6,6 +6,7 @@ SRCS= readline.c funmap.c keymaps.c vi_mode.c parens.c rltty.c complete.c \
input.c callback.c terminal.c xmalloc.c history.c histsearch.c \
histexpand.c histfile.c nls.c search.c shell.c savestring.c tilde.c
HDRS= readline.h chardefs.h keymaps.h history.h tilde.h rlstdc.h rlconf.h
+SUBDIR= doc
CPPFLAGS+=-DHAVE_CONFIG_H -I${.CURDIR}
includes:
@@ -17,10 +18,5 @@ includes:
eval "$$j"; \
done
-all:
- @cd ${.CURDIR}/doc && ${MAKE} all
-
-cleandir:
- @cd ${.CURDIR}/doc && ${MAKE} cleandir
-
.include <bsd.lib.mk>
+.include <bsd.subdir.mk>