Fix prefixing swig library directory with prefix.
authorJelmer Vernooij <jelmer@samba.org>
Tue, 23 Dec 2008 00:40:08 +0000 (01:40 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Tue, 23 Dec 2008 00:40:08 +0000 (01:40 +0100)
lib/talloc/talloc.mk

index f183cd57ef4d7d607b658d0dc4fff6686905dff0..7f0afed560877b294a48e9455e2365a66df45490 100644 (file)
@@ -22,8 +22,8 @@ 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)$(prefix)`swig -swiglib` || true
-       which swig >/dev/null 2>&1 && ${INSTALLCMD} -m 644 talloc.i $(DESTDIR)$(prefix)`swig -swiglib` || true
+       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