summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-10-22 01:26:18 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-10-22 01:26:18 +0000
commitb78d3507f4a38bc4145c982eb9ef8df4e0b86532 (patch)
treee40d4bf287aa91c2ce0369b4999af65fa4462cf0
parent1dd52346cc2e8d7d1969c34a68b20da780a98cf2 (diff)
fix tag building; Pierre Riteau plus my own tweaks
-rw-r--r--sys/arch/landisk/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/arch/landisk/Makefile b/sys/arch/landisk/Makefile
index 80456e14c98..f03e75b5bb6 100644
--- a/sys/arch/landisk/Makefile
+++ b/sys/arch/landisk/Makefile
@@ -1,8 +1,13 @@
-# $OpenBSD: Makefile,v 1.1 2006/10/06 21:16:15 miod Exp $
+# $OpenBSD: Makefile,v 1.2 2007/10/22 01:26:17 deraadt Exp $
# $NetBSD: Makefile,v 1.1 2006/09/01 21:26:18 uwe Exp $
# Makefile for landisk tags file and boot blocks
+S=${.CURDIR}/../..
+.include "../../kern/Make.tags.inc"
+
+SUBDIR= stand
+
TLANDISK= ../landisk/tags
SLANDISK= ../landisk/landisk/*.[ch] ../landisk/include/*.h
ALANDISK= ../landisk/landisk/*.[sS]
@@ -10,8 +15,6 @@ ALANDISK= ../landisk/landisk/*.[sS]
# Directories in which to place tags links
DLANDISK= landisk include
-.include "../../kern/Make.tags.inc"
-
tags:
-ctags -wdtf ${TLANDISK} ${SLANDISK} ${COMM}
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ALANDISK} | \
@@ -23,6 +26,4 @@ links:
-for i in ${DLANDISK}; do \
(cd $$i && rm -f tags; ln -s ../tags tags); done
-SUBDIR= stand
-
.include <bsd.subdir.mk>