From 963390c09c9e793773daa3a4d947b1fbccf44bde Mon Sep 17 00:00:00 2001 From: brianb Date: Mon, 16 Apr 2001 18:25:01 +0000 Subject: [PATCH] clean up --- src/sql/Makefile | 4 ++++ src/sql/Makefile.am | 3 +++ src/sql/Makefile.in | 4 ++++ 3 files changed, 11 insertions(+) diff --git a/src/sql/Makefile b/src/sql/Makefile index 6b13e5a..d3194a9 100644 --- a/src/sql/Makefile +++ b/src/sql/Makefile @@ -240,6 +240,7 @@ distdir: $(DISTFILES) || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done + $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) @@ -351,6 +352,9 @@ distclean-generic clean-generic maintainer-clean-generic clean \ mostlyclean distclean maintainer-clean +dist-hook: + rm -f $(distdir)/parser.c $(distdir)/parser.h $(distdir)/lexer.c + # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff --git a/src/sql/Makefile.am b/src/sql/Makefile.am index 55efc41..e767922 100644 --- a/src/sql/Makefile.am +++ b/src/sql/Makefile.am @@ -4,3 +4,6 @@ LDADD = ../libmdb/libmdb.la LIBS = `glib-config --libs` $(READLINE_LIBS) @LEXLIB@ mdb_sql_SOURCES = mdbsql.c main.c parser.y lexer.l YACC = yacc -d + +dist-hook: + rm -f $(distdir)/parser.c $(distdir)/parser.h $(distdir)/lexer.c diff --git a/src/sql/Makefile.in b/src/sql/Makefile.in index eaeb951..dd5778e 100644 --- a/src/sql/Makefile.in +++ b/src/sql/Makefile.in @@ -240,6 +240,7 @@ distdir: $(DISTFILES) || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done + $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) @@ -351,6 +352,9 @@ distclean-generic clean-generic maintainer-clean-generic clean \ mostlyclean distclean maintainer-clean +dist-hook: + rm -f $(distdir)/parser.c $(distdir)/parser.h $(distdir)/lexer.c + # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: