sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

st-openbsd-20160727-308bfbf.diff (823B)


      1 diff --git a/Makefile b/Makefile
      2 index 6158ab2..9b81f88 100644
      3 --- a/Makefile
      4 +++ b/Makefile
      5 @@ -49,7 +49,8 @@ install: all
      6  	@sed "s/VERSION/${VERSION}/g" < st.1 > ${DESTDIR}${MANPREFIX}/man1/st.1
      7  	@chmod 644 ${DESTDIR}${MANPREFIX}/man1/st.1
      8  	@echo Please see the README file regarding the terminfo entry of st.
      9 -	@tic -s st.info
     10 +	@sed 's/st\([^t].*\)/st-git\1/g' st.info > st-git.info
     11 +	@tic -s st-git.info
     12  
     13  uninstall:
     14  	@echo removing executable file from ${DESTDIR}${PREFIX}/bin
     15 diff --git a/config.def.h b/config.def.h
     16 index b41747f..60ffcb6 100644
     17 --- a/config.def.h
     18 +++ b/config.def.h
     19 @@ -63,7 +63,7 @@ static unsigned int cursorthickness = 2;
     20  static int bellvolume = 0;
     21  
     22  /* default TERM value */
     23 -static char termname[] = "st-256color";
     24 +static char termname[] = "st-git-256color";
     25  
     26  /*
     27   * spaces per tab