add an install target for altosui
authorBdale Garbee <bdale@gag.com>
Fri, 27 Aug 2010 17:51:24 +0000 (11:51 -0600)
committerBdale Garbee <bdale@gag.com>
Fri, 27 Aug 2010 17:51:24 +0000 (11:51 -0600)
ao-tools/altosui/Makefile
debian/dirs

index d3ecb88..258a334 100644 (file)
@@ -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:
index 6bf06c6..7b4dffb 100644 (file)
@@ -4,5 +4,6 @@ usr/lib/altos
 usr/share/altos
 usr/share/applications
 usr/share/gdm/themes/altusmetrum
+usr/share/java
 usr/share/pixmaps
 usr/share/slim/themes/altusmetrum