Install pidl by default if ExtUtils::MakeMaker is available. This should make the...
[samba.git] / source / pidl / config.mk
index c469afa1f54d685e3ccc998a6c8bfcdafa4868c3..0d36473ade2c31c2cfcb409aec6a50f63e3a2ed4 100644 (file)
@@ -7,6 +7,10 @@ pidl-testcov: pidl/Makefile
 installpidl:: pidl/Makefile
        $(MAKE) -C pidl install_vendor PREFIX=$(prefix)
 
+ifeq ($(HAVE_PERL_EXTUTILS_MAKEMAKER),1)
+install:: installpidl
+endif
+
 idl_full:: pidl/lib/Parse/Pidl/IDL.pm pidl/lib/Parse/Pidl/Expr.pm 
        @CPP="$(CPP)" PERL="$(PERL)" srcdir=$(srcdir) $(srcdir)/script/build_idl.sh FULL