Dash:
[t2.git] / package / graphic / psutils / destdir.patch
blobc3254c626ee60f8d71f608ab4be9ff03f55a0c16
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../psutils/destdir.patch
5 # Copyright (C) 2007 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
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
14 # version.
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
19 @@ -222,27 +222,27 @@
20 -mkdir $(BINDIR)
21 @for i in $(BIN); do \
22 echo Installing $$i; \
23 - $(INSTALL) $$i $(BINDIR); \
24 + $(INSTALL) $$i $(DESTDIR)$(BINDIR); \
25 done
27 install.script: $(PERLSCRIPTS) $(SHELLSCRIPTS)
28 -mkdir $(SCRIPTDIR)
29 @for i in $(PERLSCRIPTS) $(SHELLSCRIPTS); do \
30 echo Installing $$i; \
31 - $(INSTALL) $$i $(SCRIPTDIR); \
32 + $(INSTALL) $$i $(DESTDIR)$(SCRIPTDIR); \
33 done
35 install.include: $(INCLUDES)
36 -mkdir $(INCLUDEDIR)
37 @for i in $(INCLUDES); do \
38 echo Installing $$i; \
39 - $(INSTALLMAN) $$i $(INCLUDEDIR); \
40 + $(INSTALLMAN) $$i $(DESTDIR)$(INCLUDEDIR); \
41 done
43 install.man: $(MANPAGES)
44 -mkdir $(MANDIR)
45 @for i in $(MANPAGES); do \
46 echo Installing manual page for $$i; \
47 - $(INSTALLMAN) $$i $(MANDIR)/$$i; \
48 + $(INSTALLMAN) $$i $(DESTDIR)$(MANDIR)/$$i; \
49 done