DESTDIR support for make install

Bernhard Rosenkraenzer bero at redhat.de
Sat Jan 26 19:05:47 CST 2002


Hi,
wine currently doesn't support the DESTDIR flag commonly used by 
packagers. The patch I've attached fixes this.

LLaP
bero

-- 
This message is provided to you under the terms outlined at
http://www.bero.org/terms.html
-------------- next part --------------
--- wine-build/Make.rules.in.build	Sun Jan 27 01:18:19 2002
+++ wine-build/Make.rules.in	Sun Jan 27 01:19:27 2002
@@ -84,13 +84,13 @@
 INSTALL_DATA    = @INSTALL_DATA@
 prefix          = @prefix@
 exec_prefix     = @exec_prefix@
-bindir          = @bindir@
-libdir          = @libdir@
-infodir         = @infodir@
-mandir          = @mandir@
+bindir          = $(DESTDIR)/@bindir@
+libdir          = $(DESTDIR)/@libdir@
+infodir         = $(DESTDIR)/@infodir@
+mandir          = $(DESTDIR)/@mandir@
 prog_manext     = 1
 conf_manext     = 5
-includedir      = @includedir@/wine
+includedir      = $(DESTDIR)/@includedir@/wine
 CLEAN_FILES     = *.o *.a *.so *.ln \\\#*\\\# *~ *% .\\\#* *.bak *.orig *.rej \
                   *.flc *.spec.c *.glue.c y.tab.c y.tab.h lex.yy.c core
 


More information about the wine-patches mailing list