--- Makefile.orig 2016-06-20 15:08:34 UTC +++ Makefile @@ -30,12 +30,12 @@ delbadfiles.o: delbadfiles.c ibsh.h ${CC} -c delbadfiles.c ibsh_install: - cp ./ibsh /bin/ - mkdir /etc/ibsh - mkdir /etc/ibsh/cmds - mkdir /etc/ibsh/xtns - cp ./globals.cmds /etc/ibsh/ - cp ./globals.xtns /etc/ibsh/ + cp ./ibsh ${PREFIX}/bin/ + mkdir ${PREFIX}/etc/ibsh + mkdir ${PREFIX}/etc/ibsh/cmds + mkdir ${PREFIX}/etc/ibsh/xtns + cp ./globals.cmds ${PREFIX}/etc/ibsh/ + cp ./globals.xtns ${PREFIX}/etc/ibsh/ ibsh_uninstall: rm -rf /etc/ibsh/globals.cmds