]> granicus.if.org Git - postgresql/blobdiff - src/pl/Makefile
Translation updates
[postgresql] / src / pl / Makefile
index 33bd501bca2f886138601dd12ce9929b5aa08fb0..c4a0d1cd07abdef10d3dec960415bbfc49790e8f 100644 (file)
@@ -4,7 +4,7 @@
 #
 # Copyright (c) 1994, Regents of the University of California
 #
-# $Header: /cvsroot/pgsql/src/pl/Makefile,v 1.17 2000/10/24 19:31:13 tgl Exp $
+# src/pl/Makefile
 #
 #-------------------------------------------------------------------------
 
@@ -12,18 +12,25 @@ subdir = src/pl
 top_builddir = ../..
 include $(top_builddir)/src/Makefile.global
 
-DIRS := plpgsql
+SUBDIRS = plpgsql
 
-ifeq ($(with_tcl), yes)
-DIRS += tcl
+ifeq ($(with_perl), yes)
+SUBDIRS += plperl
+else
+ALWAYS_SUBDIRS += plperl
 endif
 
-ifeq ($(with_perl), yes)
-DIRS += plperl
+ifeq ($(with_python), yes)
+SUBDIRS += plpython
+else
+ALWAYS_SUBDIRS += plpython
 endif
 
-all install installdirs uninstall depend distprep:
-       @for dir in $(DIRS); do $(MAKE) -C $$dir $@ || exit; done
+ifeq ($(with_tcl), yes)
+SUBDIRS += tcl
+else
+ALWAYS_SUBDIRS += tcl
+endif
 
-clean distclean maintainer-clean:
-       @for dir in $(DIRS); do $(MAKE) -C $$dir $@; done
+$(recurse)
+$(recurse_always)