|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
|
#
|
|
|
|
# Filename: package/.../dmraid/destdir.patch
|
|
|
|
# Copyright (C) 2007 - 2011 The OpenSDE Project
|
|
|
|
#
|
|
|
|
# More information can be found in the files COPYING and README.
|
|
|
|
#
|
|
|
|
# This patch file is dual-licensed. It is available under the license the
|
|
|
|
# patched project is licensed under, as long as it is an OpenSource license
|
|
|
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
|
|
|
# of the GNU General Public License as published by the Free Software
|
|
|
|
# Foundation; either version 2 of the License, or (at your option) any later
|
|
|
|
# version.
|
|
|
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
|
|
|
|
|
|
|
--- ./make.tmpl.in.orig 2011-03-20 00:23:39.436072240 +0100
|
|
|
|
+++ ./make.tmpl.in 2011-03-20 00:30:29.164072238 +0100
|
|
|
|
@@ -38,20 +38,20 @@
|
|
|
|
# Setup directory variables
|
|
|
|
prefix = @prefix@
|
|
|
|
exec_prefix = @exec_prefix@
|
|
|
|
-bindir = @bindir@
|
|
|
|
-datadir = @datarootdir@
|
|
|
|
-datarootdir = @datarootdir@
|
|
|
|
-infodir = @infodir@
|
|
|
|
-mandir = @mandir@
|
|
|
|
-usrlibdir = @usrlibdir@
|
|
|
|
+bindir = $(DESTDIR)@bindir@
|
|
|
|
+datadir = $(DESTDIR)@datarootdir@
|
|
|
|
+datarootdir = $(DESTDIR)@datarootdir@
|
|
|
|
+infodir = $(DESTDIR)@infodir@
|
|
|
|
+mandir = $(DESTDIR)@mandir@
|
|
|
|
+usrlibdir = $(DESTDIR)@usrlibdir@
|
|
|
|
ifeq ("@KLIBC@", "no")
|
|
|
|
- libdir = @libdir@
|
|
|
|
- sbindir = @sbindir@
|
|
|
|
- includedir = @includedir@
|
|
|
|
+ libdir = $(DESTDIR)@libdir@
|
|
|
|
+ sbindir = $(DESTDIR)@sbindir@
|
|
|
|
+ includedir = $(DESTDIR)@includedir@
|
|
|
|
else
|
|
|
|
- libdir = @KLIBC_LIB_DIR@
|
|
|
|
- sbindir = @KLIBC_SBIN_DIR@
|
|
|
|
- includedir = @KLIBC_INCLUDE_DIR@
|
|
|
|
+ libdir = $(DESTDIR)@KLIBC_LIB_DIR@
|
|
|
|
+ sbindir = $(DESTDIR)@KLIBC_SBIN_DIR@
|
|
|
|
+ includedir = $(DESTDIR)@KLIBC_INCLUDE_DIR@
|
|
|
|
endif
|
|
|
|
|
|
|
|
vpath %.c $(srcdir)
|