From 32163099d7c43a0244f463eb4e525c711e6e97a3 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 19 Jul 2000 16:30:27 +0000 Subject: Add distprep target to take some of the job of the release_prep script. The latter updated accordingly. Also add `dist' and `distcheck' targets to play with, but caveat packager. Updated backend/bootstrap and backend/parser makefile to make them marginally builddir aware and fix the usual set of things. Add rule to automatically remake config.h dependent on config.h.in and config.status. (Adopted from Autoconf manual and about every other package.) On a good day we should now have a complete and accurate set of dependencies throughout everything. --- src/pl/plpgsql/Makefile | 4 ++-- src/pl/plpgsql/src/Makefile | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'src/pl/plpgsql') diff --git a/src/pl/plpgsql/Makefile b/src/pl/plpgsql/Makefile index 2c68486225..d2d1911f5e 100644 --- a/src/pl/plpgsql/Makefile +++ b/src/pl/plpgsql/Makefile @@ -4,7 +4,7 @@ # # Copyright (c) 1994, Regents of the University of California # -# $Header: /cvsroot/pgsql/src/pl/plpgsql/Makefile,v 1.3 2000/06/27 00:31:56 petere Exp $ +# $Header: /cvsroot/pgsql/src/pl/plpgsql/Makefile,v 1.4 2000/07/19 16:30:21 petere Exp $ # #------------------------------------------------------------------------- @@ -12,7 +12,7 @@ subdir = src/pl/plpgsql top_builddir = ../../.. include ../../Makefile.global -all install installdirs uninstall: +all install installdirs uninstall distprep: $(MAKE) -C src $@ clean distclean maintainer-clean: diff --git a/src/pl/plpgsql/src/Makefile b/src/pl/plpgsql/src/Makefile index 5cf37052f0..66013c62a7 100644 --- a/src/pl/plpgsql/src/Makefile +++ b/src/pl/plpgsql/src/Makefile @@ -2,7 +2,7 @@ # # Makefile for the plpgsql shared object # -# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Makefile,v 1.4 2000/06/28 18:30:16 petere Exp $ +# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Makefile,v 1.5 2000/07/19 16:30:24 petere Exp $ # #------------------------------------------------------------------------- @@ -66,6 +66,9 @@ $(srcdir)/pl_scan.c: scan.l sed -e 's/yy/plpgsql_yy/g' -e 's/YY/PLPGSQL_YY/g' < lex.yy.c > $@ rm -f lex.yy.c + +distprep: $(srcdir)/pl_scan.c $(srcdir)/pl.tab.h $(srcdir)/pl_gram.c + mklang.sql: mklang.sql.in sed -e 's%__libdir__%$(libdir)%g' -e 's%__DLSUFFIX__%$(DLSUFFIX)%g' < $< > $@ -- cgit v1.2.1