1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../psutils/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 --- psutils/Makefile.unix.orig 1997-03-11 23:52:59.000000000 +0100
18 +++ psutils/Makefile.unix 2007-08-17 16:50:30.000000000 +0200
21 @for i in $(BIN); do \
22 echo Installing $$i; \
23 - $(INSTALL) $$i $(BINDIR); \
24 + $(INSTALL) $$i $(DESTDIR)$(BINDIR); \
27 install.script: $(PERLSCRIPTS) $(SHELLSCRIPTS)
29 @for i in $(PERLSCRIPTS) $(SHELLSCRIPTS); do \
30 echo Installing $$i; \
31 - $(INSTALL) $$i $(SCRIPTDIR); \
32 + $(INSTALL) $$i $(DESTDIR)$(SCRIPTDIR); \
35 install.include: $(INCLUDES)
37 @for i in $(INCLUDES); do \
38 echo Installing $$i; \
39 - $(INSTALLMAN) $$i $(INCLUDEDIR); \
40 + $(INSTALLMAN) $$i $(DESTDIR)$(INCLUDEDIR); \
43 install.man: $(MANPAGES)
45 @for i in $(MANPAGES); do \
46 echo Installing manual page for $$i; \
47 - $(INSTALLMAN) $$i $(MANDIR)/$$i; \
48 + $(INSTALLMAN) $$i $(DESTDIR)$(MANDIR)/$$i; \