summaryrefslogtreecommitdiff
path: root/source4/lib/talloc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-04 01:37:28 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:48:02 +0100
commit71ae20df2c7e346c4b115bbed7c579c881369fdb (patch)
treedf7454e8fb808b154b5ee7705b58e1bef558a10c /source4/lib/talloc
parentb038240ac72fa34a132eb52bda28bbb80f82c29e (diff)
downloadsamba-71ae20df2c7e346c4b115bbed7c579c881369fdb.tar.gz
samba-71ae20df2c7e346c4b115bbed7c579c881369fdb.tar.bz2
samba-71ae20df2c7e346c4b115bbed7c579c881369fdb.zip
r26276: Install SWIG files if swig is present.
(This used to be commit dfd5b456f932268e2b1a82e2775037d356b9483e)
Diffstat (limited to 'source4/lib/talloc')
-rw-r--r--source4/lib/talloc/Makefile.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/talloc/Makefile.in b/source4/lib/talloc/Makefile.in
index 7110b04e12..e872ec42cf 100644
--- a/source4/lib/talloc/Makefile.in
+++ b/source4/lib/talloc/Makefile.in
@@ -57,6 +57,7 @@ install: all
${INSTALLCMD} -m 644 talloc.pc $(DESTDIR)$(libdir)/pkgconfig
if [ -f talloc.3 ];then ${INSTALLCMD} -d $(DESTDIR)$(mandir)/man3; fi
if [ -f talloc.3 ];then ${INSTALLCMD} -m 644 talloc.3 $(DESTDIR)$(mandir)/man3; fi
+ which swig >/dev/null 2>&1 && ${INSTALLCMD} -m 644 talloc.i $(DESTDIR)`swig -swiglib`
doc: talloc.3 talloc.3.html