diff --git a/Makefile b/Makefile index 789e3c3..eb0f2d7 100644 --- a/Makefile +++ b/Makefile @@ -32,13 +32,11 @@ build-release: @strip bin/* tar -czf release.tar.gz bin/* -#TODO: fix this, this is terrible oh god help me install: - @for prog in ${EXCLUDE_PROGS}; do \ - mv bin/$$prog /tmp; \ + @install -m 777 bin/dbox ${DESTDIR}/usr/local/bin + @for prog in ${PROGS}; do \ + ln ${DESTDIR}/usr/local/bin/dbox ${DESTDIR}/usr/local/bin/$$prog; \ done - install -m 777 bin/* ${DESTDIR}usr/local/bin @for prog in ${EXCLUDE_PROGS}; do \ - mv /tmp/$$prog bin; \ + rm ${DESTDIR}/usr/local/bin/$$prog; \ done -