From f5557c3a528fbad3750aaa18595dc3548b600609 Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Wed, 12 Sep 2007 09:57:53 -0600 Subject: DESTDIR support. --- docs/install.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'docs/install.html') diff --git a/docs/install.html b/docs/install.html index 804dee59b5..0a36143069 100644 --- a/docs/install.html +++ b/docs/install.html @@ -287,7 +287,15 @@ already installed, you'll have to choose different directories, like To install Mesa's headers and libraries, run make install. But first, check the Mesa/configs/default file and examine the values of the INSTALL_DIR and DRI_DRIVER_INSTALL_DIR variables. -Change them if needed, then run make install +Change them if needed, then run make install. +

+ +

+The variable +DESTDIR may also be used to install the contents to a temporary +staging directory. +This can be useful for package management. +For example: make install DESTDIR=/somepath/

-- cgit v1.2.3 From 5bba58ca2215a3c3827e4bbb280eab7ceaa913e9 Mon Sep 17 00:00:00 2001 From: Brian Date: Wed, 12 Sep 2007 10:11:49 -0600 Subject: updated with pkg-config info --- docs/install.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'docs/install.html') diff --git a/docs/install.html b/docs/install.html index 0a36143069..041e27b833 100644 --- a/docs/install.html +++ b/docs/install.html @@ -306,6 +306,26 @@ This is a handy way to compare multiple OpenGL implementations.

+

1.5 pkg-config support

+ +

+Running make install will install package configuration files +for the pkg-config utility. +

+ +

+When compiling your OpenGL application you can use pkg-config to determine +the proper compiler and linker flags. +

+ +

+For example, compiling and linking a GLUT application can be done with: +

+
+   gcc `pkg-config --cflags --libs glut` mydemo.c -o mydemo
+
+ +

2. Windows Compilation and Installation

-- cgit v1.2.3