]> granicus.if.org Git - nethack/commit
more Unix gitinfo
authorPatR <rankin@nethack.org>
Sat, 10 Mar 2018 20:32:52 +0000 (12:32 -0800)
committerPatR <rankin@nethack.org>
Sat, 10 Mar 2018 20:32:52 +0000 (12:32 -0800)
commitddb830911e10d0e1596da4977503b8067e4e8012
tree3dcad45a7da3e6545007569ca56a1003a731a7b7
parent4f459a9532e5b15272261635f315e2a5906e3771
more Unix gitinfo

When make uses 'makedefs -v' to create date.h, force it to create
gitinfo.txt all the time instead of just when that doesn't already
exist.  Use 'make GITINFO=0' to get the previous behavior.

To skip it entirely, you need to do that and also make sure that
some file by that name already exists.  'touch dat/gitinfo.txt' or
perhaps 'echo "#no git" > dat/gitinfo.txt' would suffice.
sys/unix/Makefile.src
sys/unix/gitinfo.sh