Roy's Projects
/
openresolv
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
58e5989
)
Only update our files if PREFIX is non null and not /
author
Roy Marples
<roy@marples.name>
Sun, 11 Nov 2007 00:13:11 +0000
(
00:13
+0000)
committer
Roy Marples
<roy@marples.name>
Sun, 11 Nov 2007 00:13:11 +0000
(
00:13
+0000)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index a5b26cb6a2a1b42ee358e9b606f6e9a234d176cc..d1a7c58f507e6c11887c892e107a1d2afedb341f 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-22,7
+22,7
@@
install:
$(INSTALL) resolvconf $(BINDIR)
$(INSTALL) libc dnsmasq named $(UPDATEDIR)
$(INSTALL) -m 644 resolvconf.8 $(MANDIR)
- if test "$(PREFIX)" "!=" "/"; then \
+ if test "$(PREFIX)" "!=" "/"
&& test -n "$(PREFIX)"
; then \
for x in $(BINDIR)/resolvconf $(UPDATEDIR)/libc $(UPDATEDIR)/dnsmasq $(UPDATEDIR)/named; do \
sed -i.bak -e s':^PREFIX=.*:PREFIX="$(PREFIX)":' "$$x"; rm "$$x".bak; \
done; \