aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>1999-03-20 17:58:21 +0000
committerTom Lane <tgl@sss.pgh.pa.us>1999-03-20 17:58:21 +0000
commite8f9b6baede2c7b1457a2c49837f0ea364ac113b (patch)
tree6316570f33f87c2cc9acd10cd40a9fc3bb29793a /src/interfaces
parentc96add9a081471d30d6620905b8f7f1c9880016f (diff)
downloadpostgresql-e8f9b6baede2c7b1457a2c49837f0ea364ac113b.tar.gz
postgresql-e8f9b6baede2c7b1457a2c49837f0ea364ac113b.zip
make clean should remove lex.yy.c
Diffstat (limited to 'src/interfaces')
-rw-r--r--src/interfaces/ecpg/preproc/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/preproc/Makefile b/src/interfaces/ecpg/preproc/Makefile
index e851820ca45..e2025adccac 100644
--- a/src/interfaces/ecpg/preproc/Makefile
+++ b/src/interfaces/ecpg/preproc/Makefile
@@ -20,7 +20,11 @@ preproc.c preproc.h: preproc.y
mv y.tab.h preproc.h
clean:
- rm -f *.o core a.out ecpg$(X) *~ *.output *.tab.?
+ rm -f *.o core a.out ecpg$(X) *~ *.output
+# And the garbage that might have been left behind by partial build:
+ rm -f y.tab.c y.tab.h lex.yy.c
+# make clean does not remove preproc.c, preproc.h, pgc.c since we want
+# to ship those files in the distribution, for people with inadequate tools.
install: all
$(INSTALL) $(INSTL_EXE_OPTS) ecpg$(X) $(DESTDIR)$(BINDIR)