r17964: try to support sun* hosts
authorStefan Metzmacher <metze@samba.org>
Thu, 31 Aug 2006 10:31:40 +0000 (10:31 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:16:58 +0000 (14:16 -0500)
metze
(This used to be commit 87d88b3a47047f837101aca2180555dc35cfcf31)

source4/lib/talloc/Makefile.in

index ad298e6b493301df2fad71d871692190baf9165f..cb8fb0040667e514e512517c3b209557d0150d1e 100644 (file)
@@ -32,8 +32,8 @@ install: all
        ${INSTALLCMD} -d ${includedir}
        ${INSTALLCMD} -m 644 $(srcdir)/talloc.h $(includedir)
        ${INSTALLCMD} -m 644 talloc.pc $(libdir)/pkgconfig
-       test ! -e talloc.3 || ${INSTALLCMD} -d ${mandir}/man3
-       test ! -e talloc.3 || ${INSTALLCMD} -m 644 talloc.3 $(mandir)/man3
+       if [ -f talloc.3 ];then ${INSTALLCMD} -d ${mandir}/man3; fi
+       if [ -f talloc.3 ];then ${INSTALLCMD} -m 644 talloc.3 $(mandir)/man3; fi
 
 doc: talloc.3 talloc.3.html