]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r26292: Make sure swig directory exists.
authorJelmer Vernooij <jelmer@samba.org>
Tue, 4 Dec 2007 17:24:16 +0000 (18:24 +0100)
committerMichael Adam <obnox@samba.org>
Wed, 13 Feb 2008 00:40:11 +0000 (01:40 +0100)
(cherry picked from commit 7962d221fcb877c9fd3bbc890827338de54ca94a)

source/lib/talloc/Makefile.in

index da0ecb6ca0ee943474b07685be3faa8fc8c68275..9ba557dd8eb778f2c88dbb3a2fe9736f962dead9 100644 (file)
@@ -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} -d $(DESTDIR)`swig -swiglib` || true
        which swig >/dev/null 2>&1 && ${INSTALLCMD} -m 644 talloc.i $(DESTDIR)`swig -swiglib` || true
 
 doc: talloc.3 talloc.3.html