1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../libsafe/destdir.patch
5 # Copyright (C) 2007 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- libsafe-2.0-16/src/Makefile.vanilla 2007-08-17 14:40:04.000000000 +0200
18 +++ libsafe-2.0-16/src/Makefile 2007-08-17 14:42:27.000000000 +0200
23 - $(INSTALL) $(LIBNAME) $(LIBDIR)
25 + $(INSTALL) $(LIBNAME) $(DESTDIR)$(LIBDIR)
27 @if [ -s $(PRELOAD).tmp ] ; then \
28 cp -fp $(PRELOAD).tmp $(PRELOAD);\
31 # If you have man pages in some other directory add it here.
33 - @if [ -d $(MANDIR) ]; then \
34 - echo "$(INSTALL) $(MANNAME) $(MANDIR)"; \
35 - $(INSTALL) $(MANNAME) $(MANDIR); \
36 - elif [ -d /usr/share/man/man8 ]; then \
37 - echo "$(INSTALL) $(MANNAME) /usr/share/man/man8"; \
38 - $(INSTALL) $(MANNAME) /usr/share/man/man8; \
39 + @if [ -d $(DESTDIR)$(MANDIR) ]; then \
40 + echo "$(INSTALL) $(MANNAME) $(DESTDIR)$(MANDIR)"; \
41 + $(INSTALL) $(MANNAME) $(DESTDIR)$(MANDIR); \
42 + elif [ -d $(DESTDIR)/usr/share/man/man8 ]; then \
43 + echo "$(INSTALL) $(MANNAME) $(DESTDIR)/usr/share/man/man8"; \
44 + $(INSTALL) $(MANNAME) $(DESTDIR)/usr/share/man/man8; \
45 else echo "***** Error: Cannot find man directories"; \