1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../snowbox/destdir.patch
5 # Copyright (C) 2008 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 --- snowbox-1.0/Makefile.vanilla 2008-07-26 10:09:45.000000000 +0200
18 +++ snowbox-1.0/Makefile 2008-07-26 10:10:36.000000000 +0200
20 @echo "Type \"make install\" to install Snowbox."
23 - if [ ! -d "$(PREFIX)/sbin" ]; then \
24 - mkdir -p $(PREFIX)/sbin; \
25 + if [ ! -d "$(DESTDIR)$(PREFIX)/sbin" ]; then \
26 + mkdir -p $(DESTDIR)$(PREFIX)/sbin; \
28 - install snowbox $(PREFIX)/sbin
29 + install snowbox $(DESTDIR)$(PREFIX)/sbin
31 - if [ ! -d "$(PREFIX)/man/man8" ]; then \
32 - mkdir -p $(PREFIX)/man/man8; \
33 + if [ ! -d "$(DESTDIR)$(PREFIX)/man/man8" ]; then \
34 + mkdir -p $(DESTDIR)$(PREFIX)/man/man8; \
36 - install -m 0644 snowbox.8 $(PREFIX)/man/man8
37 + install -m 0644 snowbox.8 $(DESTDIR)$(PREFIX)/man/man8
39 - if [ ! -d "/etc/snowbox" ]; then \
40 - mkdir -p /etc/snowbox; \
41 - install -m 0600 config /etc/snowbox; \
42 - install -m 0600 user.auth.example /etc/snowbox; \
43 + if [ ! -d "$(DESTDIR)/etc/snowbox" ]; then \
44 + mkdir -p $(DESTDIR)/etc/snowbox; \
45 + install -m 0600 config $(DESTDIR)/etc/snowbox; \
46 + install -m 0600 user.auth.example $(DESTDIR)/etc/snowbox; \