Files
postgresql/src/pl/Makefile
Peter Eisentraut 8c87cc370f Catch all errors in for and while loops in makefiles. Don't ignore any
errors in any commands, including in various clean targets that have so far
been handled inconsistently.  make -i is available to ignore all errors in
a consistent and official way.
2008-03-18 16:24:50 +00:00

38 lines
914 B
Makefile

#-------------------------------------------------------------------------
#
# Makefile for src/pl (procedural languages)
#
# Copyright (c) 1994, Regents of the University of California
#
# $PostgreSQL: pgsql/src/pl/Makefile,v 1.27 2008/03/18 16:24:50 petere Exp $
#
#-------------------------------------------------------------------------
subdir = src/pl
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
DIRS = plpgsql
ifeq ($(with_perl), yes)
DIRS += plperl
endif
ifeq ($(with_python), yes)
DIRS += plpython
endif
ifeq ($(with_tcl), yes)
DIRS += tcl
endif
all install installdirs uninstall distprep clean distclean maintainer-clean:
@for dir in $(DIRS); do $(MAKE) -C $$dir $@ || exit; done
# We'd like check operations to run all the subtests before failing.
check installcheck:
@CHECKERR=0; for dir in $(DIRS); do \
$(MAKE) -C $$dir $@ || CHECKERR=$$?; \
done; \
exit $$CHECKERR