blob: 5bba25e28f0c306d5b3893cf08e0dc900398bd5c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-etc_Makefile.in,v 1.1 2011/03/31 13:25:57 obache Exp $
* staged installation support.
--- etc/Makefile.in.orig 2001-11-28 20:04:22.000000000 +0000
+++ etc/Makefile.in
@@ -12,12 +12,12 @@ TARGETS = default.css
all:
install:
- ( if [ ! -d $(datadir) ]; then mkdir -p $(datadir); fi )
+ ( if [ ! -d $(DESTDIR)$(datadir) ]; then mkdir -p $(DESTDIR)$(datadir); fi )
for x in $(TARGETS); do \
if [ -f $$x ]; then \
- $(INSTALL) $$x $(datadir); \
+ $(INSTALL) $$x $(DESTDIR)$(datadir); \
else \
- $(INSTALL) $(srcdir)/$$x $(datadir); \
+ $(INSTALL) $(srcdir)/$$x $(DESTDIR)$(datadir); \
fi \
done
|