summaryrefslogtreecommitdiffstats
path: root/lib/libforms
diff options
context:
space:
mode:
authorats <ats@FreeBSD.org>1995-04-15 17:15:11 +0000
committerats <ats@FreeBSD.org>1995-04-15 17:15:11 +0000
commit160723cf92dfb58fed5a00128926ccc62a453a17 (patch)
tree11303debc82e2a5305cbde5b0ddcdc20579a3be1 /lib/libforms
parent480daab13197b589d98e8fd71fe0aef31cff48d0 (diff)
downloadFreeBSD-src-160723cf92dfb58fed5a00128926ccc62a453a17.zip
FreeBSD-src-160723cf92dfb58fed5a00128926ccc62a453a17.tar.gz
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.
Diffstat (limited to 'lib/libforms')
-rw-r--r--lib/libforms/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libforms/Makefile b/lib/libforms/Makefile
index b6ce006..3703960 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 \
OpenPOWER on IntegriCloud