Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hutchinson <mhutchinson@novell.com>2011-02-16 01:58:45 +0300
committerMichael Hutchinson <mhutchinson@novell.com>2011-02-16 01:58:45 +0300
commit782f8b8b432c0e96ef59c687a771582e677e2818 (patch)
treee504fb8fad8fdec7b539cdee7d60452634faa5e3 /Makefile
parent79705261523f1bfcaafdd8970a7dbe0c7dc2a49d (diff)
Use libs in $prefix for build and run
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index edd6a7fe29..0f88dae7b5 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,9 @@ include $(top_srcdir)/config.make
CONFIG_MAKE=$(top_srcdir)/config.make
%-recursive: $(CONFIG_MAKE)
- @set . $$MAKEFLAGS; final_exit=:; \
+ @export PKG_CONFIG_PATH="`pwd`/$(top_srcdir)/local-config:$(prefix)/lib/pkgconfig:$(prefix)/share/pkgconfig:$$PKG_CONFIG_PATH"; \
+ export MONO_GAC_PREFIX="$(prefix)/lib/pkgconfig:$(prefix)/share/pkgconfig:$$MONO_GAC_PREFIX"; \
+ set . $$MAKEFLAGS; final_exit=:; \
case $$2 in --unix) shift ;; esac; \
case $$2 in *=*) dk="exit 1" ;; *k*) dk=: ;; *) dk="exit 1" ;; esac; \
for dir in $(SUBDIRS); do \
@@ -21,7 +23,7 @@ CONFIG_MAKE=$(top_srcdir)/config.make
$$final_exit
$(CONFIG_MAKE): $(top_srcdir)/configure
- @if test -e "$(CONFIG_MAKE)"; then exec $(top_srcdir)/configure; \
+ @if test -e "$(CONFIG_MAKE)"; then exec $(top_srcdir)/configure --prefix=$(prefix); \
else \
echo "You must run configure first"; \
exit 1; \