]> git.armaanb.net Git - st.git/blobdiff - Makefile
use predefined OS macro instead of uname.
[st.git] / Makefile
index b0bd42d01b709a7b0e0b269d12db6713c436cc23..2fb13ae20c08cb014cec1b3825115b5a98d5f50f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@ options:
        @echo CC $<
        @${CC} -c ${CFLAGS} $<
 
-${OBJ}: config.mk
+${OBJ}: config.h config.mk
 
 st: ${OBJ}
        @echo CC -o $@
@@ -31,7 +31,7 @@ clean:
 dist: clean
        @echo creating dist tarball
        @mkdir -p st-${VERSION}
-       @cp -R LICENSE Makefile README config.mk st.h ${SRC} st-${VERSION}
+       @cp -R LICENSE Makefile README config.mk config.h st.info ${SRC} st-${VERSION}
        @tar -cf st-${VERSION}.tar st-${VERSION}
        @gzip st-${VERSION}.tar
        @rm -rf st-${VERSION}
@@ -41,7 +41,7 @@ install: all
        @mkdir -p ${DESTDIR}${PREFIX}/bin
        @cp -f st ${DESTDIR}${PREFIX}/bin
        @chmod 755 ${DESTDIR}${PREFIX}/bin/st
-       @tic st.info
+       @tic -s st.info
 
 uninstall:
        @echo removing executable file from ${DESTDIR}${PREFIX}/bin