summaryrefslogtreecommitdiff
path: root/source4/main.mk
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-10-28 22:40:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:45:29 -0500
commit42c5211bf492a5bbe32d3be56304252df98467b0 (patch)
treebdbb484cffce34599423eb90a17fd5e1cfa38acc /source4/main.mk
parent773f0ecf5ab07975b17f10448fb06af06905e8b7 (diff)
downloadsamba-42c5211bf492a5bbe32d3be56304252df98467b0.tar.gz
samba-42c5211bf492a5bbe32d3be56304252df98467b0.tar.bz2
samba-42c5211bf492a5bbe32d3be56304252df98467b0.zip
r11386: Add install rule for pidl
(This used to be commit b740d0d28043e37ba3f0bec0c1bfbd68c0fb56e6)
Diffstat (limited to 'source4/main.mk')
-rw-r--r--source4/main.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/source4/main.mk b/source4/main.mk
index 4fb7d58bba..2960258e55 100644
--- a/source4/main.mk
+++ b/source4/main.mk
@@ -75,7 +75,7 @@ PATH_FLAGS = -DCONFIGFILE=\"$(CONFIGFILE)\" -DSBINDIR=\"$(SBINDIR)\" \
-DSWATDIR=\"$(SWATDIR)\" -DPRIVATE_DIR=\"$(PRIVATEDIR)\"
install: showlayout installbin installdat installswat installmisc installlib \
- installheader
+ installheader installpidl
# DESTDIR is used here to prevent packagers wasting their time
# duplicating the Makefile. Remove it and you will have the privilege
@@ -139,6 +139,12 @@ etags:
ctags:
ctags `find $(srcdir) -name "*.[ch]"`
+pidl/Makefile: pidl/Makefile.PL
+ cd pidl && $(PERL) Makefile.PL
+
+installpidl: pidl/Makefile
+ cd pidl && $(MAKE) install
+
idl_full: pidl/lib/Parse/Pidl/IDL.pm
@CPP="$(CPP)" PERL="$(PERL)" script/build_idl.sh FULL $(PIDL_ARGS)