--- Makefile.in.orig 2012-09-21 15:21:00.000000000 -0400 +++ Makefile.in 2012-09-21 15:21:07.000000000 -0400 @@ -566,13 +566,15 @@ # install librxtxSerial.so into the proper directory and copy $(JARTARGET) to its # proper location install: all + $(mkinstalldirs) $(DESTDIR)$(RXTX_PATH) + $(mkinstalldirs) $(DESTDIR)$(JHOME) @$(LIBTOOL_INST) \ `for i in $(TARGETLIB);do \ if [ -f $$i ];then \ echo $$i; \ fi; \ - done` $(RXTX_PATH) - $(INSTALL_PROGRAM) $(JARTARGET) $(JHOME)/ + done` $(DESTDIR)$(RXTX_PATH) + $(INSTALL_PROGRAM) $(JARTARGET) $(DESTDIR)$(JHOME)/ clean-generic: rm -rf $(DEST) $(TOP)/$(CLASSTOP)