[Monodevelop-patches-list] r621 - in trunk/MonoDevelop: . gtkmozembed-sharp

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Fri Jan 23 17:42:46 EST 2004


Author: benm
Date: 2004-01-23 17:42:46 -0500 (Fri, 23 Jan 2004)
New Revision: 621

Modified:
   trunk/MonoDevelop/README
   trunk/MonoDevelop/gtkmozembed-sharp/Makefile
Log:
read the prefix from pkg-config so that you can leave it out in non-bizzare cases

Modified: trunk/MonoDevelop/README
===================================================================
--- trunk/MonoDevelop/README	2004-01-23 21:53:01 UTC (rev 620)
+++ trunk/MonoDevelop/README	2004-01-23 22:42:46 UTC (rev 621)
@@ -3,15 +3,17 @@
 Compiling and running
 ---------------------
 To compile run the following command:
-make PREFIX=/usr/local
 
-(change /usr/local to the prefix Gtk# is installed to)
+make
 
+If you do not have pkg-config set up right, you will need to
+set PREFIX to the prefix that Gtk# is installed in.
+
 To run MonoDevelop:
 ./monodevelop
 
 Example:
-make clean && make PREFIX=/usr && ./monodevelop
+make clean && make && ./monodevelop
 
 Dependencies
 ------------

Modified: trunk/MonoDevelop/gtkmozembed-sharp/Makefile
===================================================================
--- trunk/MonoDevelop/gtkmozembed-sharp/Makefile	2004-01-23 21:53:01 UTC (rev 620)
+++ trunk/MonoDevelop/gtkmozembed-sharp/Makefile	2004-01-23 22:42:46 UTC (rev 621)
@@ -1,5 +1,6 @@
 MCS=mcs
 ASSEMBLY = ../build/bin/gtkmozembed-sharp.dll
+PREFIX ?= $(shell pkg-config --variable=prefix gapi)
 
 INCLUDE_APIS = \
 	$(PREFIX)/share/gapi/gdk-api.xml \




More information about the Monodevelop-patches-list mailing list