diff options
author | mutantturkey <crazycal00@gmail.com> | 2010-06-12 02:06:11 -0400 |
---|---|---|
committer | mutantturkey <crazycal00@gmail.com> | 2010-06-12 02:06:11 -0400 |
commit | c614b3727595d4cb45d52f254c436b7ae39f5e99 (patch) | |
tree | 391775b63c9c0af983ac4c4fdab3789354b305fa /Makefile | |
parent | 6da33b7e273e4656f4b55dbadcafd15244f9f9ee (diff) |
added a script to automagically sort/remove duplicates, i had it for a while, now its for everyone. updated makefile to install the binary as sb-binary, and the script as sb
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -32,7 +32,7 @@ clean: dist: clean @echo creating dist tarball @mkdir -p sb-${VERSION} - @cp -R Makefile config.mk ${SRC} sb-${VERSION} + @cp -R Makefile config.mk sb sb-binary ${SRC} sb-${VERSION} @tar -cf sb-${VERSION}.tar sb-${VERSION} @gzip sb-${VERSION}.tar @rm -rf sb-${VERSION} @@ -40,12 +40,17 @@ dist: clean install: all @echo installing executable file to ${DESTDIR}${PREFIX}/bin @mkdir -p ${DESTDIR}${PREFIX}/bin - @cp -f sb ${DESTDIR}${PREFIX}/bin + @cp -f sb ${DESTDIR}${PREFIX}/bin/sb-binary + @chmod 755 ${DESTDIR}${PREFIX}/bin/sb-binary + @cp -f sb-script ${DESTDIR}${PREFIX}/bin/sb @chmod 755 ${DESTDIR}${PREFIX}/bin/sb + + uninstall: @echo removing executable file from ${DESTDIR}${PREFIX}/bin @rm -f ${DESTDIR}${PREFIX}/bin/sb + @rm -f ${DESTDIR}${PREFIX}/bin/sb-binary .PHONY: all options clean dist install uninstall |