make invocation of 'install' pathless to work on more Unix variants
authorBdale Garbee <bdale@gag.com>
Tue, 31 Aug 2010 00:15:40 +0000 (18:15 -0600)
committerBdale Garbee <bdale@gag.com>
Tue, 31 Aug 2010 00:15:40 +0000 (18:15 -0600)
ao-tools/altosui/Makefile
ao-tools/libaltos/Makefile

index d3b6970..ce627ec 100644 (file)
@@ -122,9 +122,9 @@ fat/classes/Manifest.txt: $(CLASSFILES) Makefile
        echo "Class-Path: freetts.jar" >> $@
 
 install: altosui.jar altosui
-       /usr/bin/install -m 0644 altosui.jar $(DESTDIR)/usr/share/java/altosui.jar
-       /usr/bin/install -m 0644 altosui.1 $(DESTDIR)/usr/share/man/man1/altosui.1
-       /usr/bin/install altosui $(DESTDIR)/usr/bin/altosui
+       install -m 0644 altosui.jar $(DESTDIR)/usr/share/java/altosui.jar
+       install -m 0644 altosui.1 $(DESTDIR)/usr/share/man/man1/altosui.1
+       install altosui $(DESTDIR)/usr/bin/altosui
 
 clean:
        rm -f *.class altosui.jar
index 201cf8e..77ffa1b 100644 (file)
@@ -117,7 +117,7 @@ $(SWIG_WRAP): $(JNI_FILE)
 
 ifeq ($(OS),Linux)
 install:       $(LIBNAME)
-       /usr/bin/install -c $(LIBNAME) $(DESTDIR)/usr/lib/altos/$(LIBNAME)
+       install -c $(LIBNAME) $(DESTDIR)/usr/lib/altos/$(LIBNAME)
 
 endif