projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add an install target for altosui
[fw/altos]
/
ao-tools
/
altosui
/
Makefile
diff --git
a/ao-tools/altosui/Makefile
b/ao-tools/altosui/Makefile
index d3ecb889d909b3f83afd2df15d6a8ba1c15d2641..258a334f03ecbd135ead5f99a9f50be6dca93691 100644
(file)
--- a/
ao-tools/altosui/Makefile
+++ b/
ao-tools/altosui/Makefile
@@
-96,8
+96,13
@@
endif
ifeq ($(OS),Linux)
altosui:
echo "#!/bin/sh" > $@
ifeq ($(OS),Linux)
altosui:
echo "#!/bin/sh" > $@
- echo "exec java -Djava.library.path=
..
/libaltos -jar altosui.jar" >> $@
+ echo "exec java -Djava.library.path=
/usr/lib/altos
/libaltos -jar altosui.jar" >> $@
chmod +x ./altosui
chmod +x ./altosui
+
+install: altosui.jar altosui
+ /usr/bin/install -c altosui.jar $(DESTDIR)/usr/share/java/altosui.jar
+ /usr/bin/install -c altosui $(DESTDIR)/usr/bin/altosui
+
endif
clean:
endif
clean: