Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
vor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
858b120
)
made "make install" work for non-root users
author
Jason Woofenden
<jason283@herkamire.com>
Wed, 27 May 2009 02:06:18 +0000
(22:06 -0400)
committer
Jason Woofenden
<jason283@herkamire.com>
Wed, 27 May 2009 03:02:59 +0000
(23:02 -0400)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
a2f2ada
..
a3c3847
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-42,7
+42,7
@@
rocks := $(rocks:%=data/rock%.png)
graphics := data/ship.png data/icon.png data/life.png data/font.png $(rocks)
INSTALL := install
-INSTALL_PROGRAM := $(INSTALL) -o games -g games
+INSTALL_PROGRAM := $(INSTALL) $(shell sh -c 'test "$$UID" "=" "0" && echo "-o games -g games"')
INSTALL_DATA := $(INSTALL) -m 644