]> granicus.if.org Git - postgresql/blobdiff - src/pl/Makefile
Translation updates
[postgresql] / src / pl / Makefile
index 17a69c6a2a84ad0662de336eff5d075fc81cd268..c4a0d1cd07abdef10d3dec960415bbfc49790e8f 100644 (file)
@@ -4,7 +4,7 @@
 #
 # Copyright (c) 1994, Regents of the University of California
 #
-# $PostgreSQL: pgsql/src/pl/Makefile,v 1.23 2005/05/14 17:55:20 tgl Exp $
+# src/pl/Makefile
 #
 #-------------------------------------------------------------------------
 
@@ -12,32 +12,25 @@ subdir = src/pl
 top_builddir = ../..
 include $(top_builddir)/src/Makefile.global
 
-DIRS := plpgsql
+SUBDIRS = plpgsql
 
 ifeq ($(with_perl), yes)
-DIRS += plperl
+SUBDIRS += plperl
+else
+ALWAYS_SUBDIRS += plperl
 endif
 
 ifeq ($(with_python), yes)
-DIRS += plpython
+SUBDIRS += plpython
+else
+ALWAYS_SUBDIRS += plpython
 endif
 
 ifeq ($(with_tcl), yes)
-DIRS += tcl
+SUBDIRS += tcl
+else
+ALWAYS_SUBDIRS += tcl
 endif
 
-all install installdirs uninstall depend distprep:
-       @for dir in $(DIRS); do $(MAKE) -C $$dir $@ || exit 1; done
-
-clean distclean maintainer-clean:
-       @for dir in $(DIRS); do $(MAKE) -C $$dir $@; done
-
-# We'd like check operations to run all the subtests before failing;
-# also insert a sleep to ensure the previous test backend exited before
-# we try to drop the regression database.
-check installcheck:
-       @CHECKERR=0; for dir in $(DIRS); do \
-               sleep 1; \
-               $(MAKE) -C $$dir $@ || CHECKERR=$$?; \
-       done; \
-       exit $$CHECKERR
+$(recurse)
+$(recurse_always)