aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndreas Schulz <ats@FreeBSD.org>1995-04-15 17:15:11 +0000
committerAndreas Schulz <ats@FreeBSD.org>1995-04-15 17:15:11 +0000
commit695176ba796aec72ca6720aefd944c5d8e291fbf (patch)
tree11303debc82e2a5305cbde5b0ddcdc20579a3be1 /lib
parentaf087363e8a784c7dfe3c2624c477f6c7edd8f38 (diff)
downloadsrc-695176ba796aec72ca6720aefd944c5d8e291fbf.tar.gz
src-695176ba796aec72ca6720aefd944c5d8e291fbf.zip
Removed the y.tab.h file from the sources. It is automatically generated
from yacc. Put the lex.c parser.c and y.tab.h into a CLEANFILES target in the makefile, they are all generated and need to be removed on a clean.
Notes
Notes: svn path=/head/; revision=7848
Diffstat (limited to 'lib')
-rw-r--r--lib/libforms/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libforms/Makefile b/lib/libforms/Makefile
index b6ce00683c88..3703960c41aa 100644
--- a/lib/libforms/Makefile
+++ b/lib/libforms/Makefile
@@ -5,6 +5,8 @@ SRCS = forms.c parser.y lex.l menu.c fields.c
CFLAGS += -I. -I${.CURDIR} -Wall -g -DHASH_STATS
LDFLAGS += -ll
+CLEANFILES+= lex.c parser.c y.tab.h
+
beforeinstall:
@(cd ${.CURDIR}; cmp -s forms.h ${DESTDIR}/usr/include/forms.h || \
install -c -o ${BINOWN} -g ${BINGRP} -m 444 forms.h \