--- Makefile.orig 2014-07-16 14:15:30.269735497 +0800 +++ Makefile 2014-07-16 14:16:09.749730176 +0800 @@ -1,9 +1,9 @@ -DESTDIR?=/usr/local +PREFIX?=/usr/local all: echo "Nothing to make." install: - cp libspigot.a ${DESTDIR}/lib/libspigot.a - ranlib libspigot.a - cp spigot_saa7191.h /usr/local/include + cp libspigot.a $(DESTDIR)${PREFIX}/lib/libspigot.a + ranlib $(DESTDIR)${PREFIX}/lib/libspigot.a + cp spigot_saa7191.h $(DESTDIR)${PREFIX}/include