X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=Makefile;h=920bd9a9a486def92e2b109666603735fc6d0440;hb=160bda1b60148ce8f7d3b001ada2b12f1da9e152;hp=9ec8d21b99e6811b42dc8da697d29d05a71b4f93;hpb=ce3f4fc647be3ab28f934db9365445a56ebd85bf;p=st.git diff --git a/Makefile b/Makefile index 9ec8d21..920bd9a 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,9 @@ options: @echo "LDFLAGS = ${LDFLAGS}" @echo "CC = ${CC}" +config.h: + cp config.def.h config.h + .c.o: @echo CC $< @${CC} -c ${CFLAGS} $< @@ -31,7 +34,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 +44,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