1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00

r26280: Fix installation if swig is not available.

(cherry picked from commit 3320bd401f)
(This used to be commit f1267f74a9)
This commit is contained in:
Jelmer Vernooij 2007-12-04 02:04:25 +01:00 committed by Michael Adam
parent 580bb2a6ad
commit 6a7dff4a73

View File

@ -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