[Dev OpenGP] [100] Makefile: libs install is ok.

[ Thread Index | Date Index | More opengp.tuxfamily.org/development Archives ]


Revision: 100
Author:   alband85
Date:     2009-03-26 14:06:23 +0100 (Thu, 26 Mar 2009)

Log Message:
-----------
Makefile: libs install is ok.

Modified Paths:
--------------
    trunk/Makefile


Modified: trunk/Makefile
===================================================================
--- trunk/Makefile	2009-03-26 12:39:42 UTC (rev 99)
+++ trunk/Makefile	2009-03-26 13:06:23 UTC (rev 100)
@@ -16,7 +16,11 @@
 install: install-libs
 
 install-libs:
-	@cp -rf $(OGPLIB) ~/tmp
+	@if [ ! -f $(PYTHON_LIB)/ogp ]; then \
+		mkdir $(PYTHON_LIB)/ogp;\
+	fi
+	@cd $(OGPLIB);\
+	tar -cf - --exclude='.svn' * |  tar --no-same-owner -xf - -C $(PYTHON_LIB)/ogp
 
 .PHONY: config clean mrproper
 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/