diff options
| author | Bdale Garbee <bdale@gag.com> | 2010-08-27 11:51:24 -0600 |
|---|---|---|
| committer | Bdale Garbee <bdale@gag.com> | 2010-08-27 11:51:24 -0600 |
| commit | 72a18502e40f55cbba6418dc94315517881cd411 (patch) | |
| tree | 3e10557911460389b4ad3198d333ca57e3033918 /ao-tools | |
| parent | 72c33a72ee105ec692dad62d6d9c1ad40b89bfe8 (diff) | |
add an install target for altosui
Diffstat (limited to 'ao-tools')
| -rw-r--r-- | ao-tools/altosui/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ao-tools/altosui/Makefile b/ao-tools/altosui/Makefile index d3ecb889..258a334f 100644 --- a/ao-tools/altosui/Makefile +++ b/ao-tools/altosui/Makefile @@ -96,8 +96,13 @@ endif 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 + +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: |
