nanogui: Thread: patch for Makefile.rules


[<<] [<] Page 1 of 1 [>] [>>]
Subject: patch for Makefile.rules
From: Patrick Mochel ####@####.####
Date: 31 Aug 2000 00:34:43 -0000
Message-Id: <Pine.LNX.4.21.0008301724410.5485-100000@sgt.ironarm.com>

I have a simple little patch for Makefile.rules. It adds a make variable
INSTALL_PREFIX, so as to make it easier to install microwindows to a
different location than /usr by doing just

make INSTALL_PREFIX=<dir> install

-patrick


-----------------------------------------------------------
diff -Nur microwin.orig/src/Makefile.rules microwin/src/Makefile.rules
--- microwin.orig/src/Makefile.rules	Tue Aug 22 09:42:36 2000
+++ microwin/src/Makefile.rules	Wed Aug 30 17:28:06 2000
@@ -14,8 +14,9 @@
 endif
 
 # install directories for headers and libraries
-HDRINSTALLDIR = /usr/include/microwin
-LIBINSTALLDIR = /usr/lib
+INSTALL_PREFIX = /usr
+HDRINSTALLDIR = $(INSTALL_PREFIX)/include/microwin
+LIBINSTALLDIR = $(INSTALL_PREFIX)/lib
 
 INSTALL_DIR   = install -c -m 755 -o root -g root -d
 INSTALL_HDR   = install -c -m 644 -o root -g bin


[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.