Hi!

Here is a little patch to make the Makefile happier especially "make
install" when one of the target directories already exists.


Cheers,
-- 
Pierre
http://blog.thepimp.net | http://www.libgd.org
--- ./neko-1.6.0/Makefile       2007-07-25 16:59:41.000000000 +0200
+++ ../neko-1.6.0/Makefile      2008-02-06 16:19:58.000000000 +0100
@@ -136,9 +136,9 @@ clean:
 install:
        cp bin/${LIBNEKO_NAME} ${INSTALL_PREFIX}/lib
        cp bin/neko bin/nekoc bin/nekotools ${INSTALL_PREFIX}/bin
-       -mkdir ${INSTALL_PREFIX}/lib/neko
+       -if test ! -d ${INSTALL_PREFIX}/lib/neko; then -mkdir -p 
${INSTALL_PREFIX}/lib/neko; fi
        cp bin/*.ndll ${INSTALL_PREFIX}/lib/neko
-       -mkdir ${INSTALL_PREFIX}/include
+       -if test ! -d ${INSTALL_PREFIX}/include; then -mkdir 
${INSTALL_PREFIX}/include; fi
        cp vm/neko*.h ${INSTALL_PREFIX}/include
 
 uninstall:
-- 
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to