summaryrefslogtreecommitdiff
path: root/source3/lib/talloc/Makefile.in
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-04 01:37:28 +0100
committerMichael Adam <obnox@samba.org>2008-02-13 01:40:11 +0100
commit580bb2a6ad8f44a27843dafc031e8edb145c6fb2 (patch)
treefeb97d5b01de0b567d15bcfb656a67f1c9b49875 /source3/lib/talloc/Makefile.in
parent461ad00b1f090d5328c234e45eb7ab906252d93d (diff)
downloadsamba-580bb2a6ad8f44a27843dafc031e8edb145c6fb2.tar.gz
samba-580bb2a6ad8f44a27843dafc031e8edb145c6fb2.tar.bz2
samba-580bb2a6ad8f44a27843dafc031e8edb145c6fb2.zip
r26276: Install SWIG files if swig is present.
(cherry picked from talloc parts of commit dfd5b456f932268e2b1a82e2775037d356b9483e) Michael (This used to be commit 8276ec7596b41980aea3f93949edd224fe842fa5)
Diffstat (limited to 'source3/lib/talloc/Makefile.in')
-rw-r--r--source3/lib/talloc/Makefile.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/talloc/Makefile.in b/source3/lib/talloc/Makefile.in
index 6eee227f7a..5d93e1f2fb 100644
--- a/source3/lib/talloc/Makefile.in
+++ b/source3/lib/talloc/Makefile.in
@@ -56,6 +56,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