summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-04 02:04:25 +0100
committerMichael Adam <obnox@samba.org>2008-02-13 01:40:11 +0100
commitf1267f74a91374692c3564d783c527f94035b323 (patch)
tree3e7b6e149460f6465ecc14392da4a5d9e1d15f84
parent8276ec7596b41980aea3f93949edd224fe842fa5 (diff)
downloadsamba-f1267f74a91374692c3564d783c527f94035b323.tar.gz
r26280: Fix installation if swig is not available.
(cherry picked from commit 3320bd401f7b669bd62f83bf16a1c16ad0543a5c)
-rw-r--r--source/lib/talloc/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/talloc/Makefile.in b/source/lib/talloc/Makefile.in
index 5d93e1f2fb9..da0ecb6ca0e 100644
--- a/source/lib/talloc/Makefile.in
+++ b/source/lib/talloc/Makefile.in
@@ -56,7 +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`
+ which swig >/dev/null 2>&1 && ${INSTALLCMD} -m 644 talloc.i $(DESTDIR)`swig -swiglib` || true
doc: talloc.3 talloc.3.html