From: PatR Date: Sat, 25 Jan 2020 20:08:28 +0000 (-0800) Subject: unix 'make clean' update X-Git-Tag: NetHack-3.6.5_Released~13^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2b5dc80278757aec66086defd1ff24e2852e4aa2;p=nethack unix 'make clean' update Remove dat/gitinfo.txt which has been getting overlooked. Hardly urgent, but useful if this is the last 3.5.x release. --- diff --git a/sys/unix/Makefile.dat b/sys/unix/Makefile.dat index 466a14f63..00f604396 100644 --- a/sys/unix/Makefile.dat +++ b/sys/unix/Makefile.dat @@ -165,7 +165,11 @@ dungeon: dungeon.def ../util/makedefs ../util/dgn_comp ../util/makedefs -e ../util/dgn_comp dungeon.pdf -spotless: +# gitinfo.txt is optionally made by src/Makefile when creating date.h +clean: + -rm -f gitinfo.txt + +spotless: clean -rm -f spec_levs quest_levs *.lev $(VARDAT) dungeon dungeon.pdf -rm -f nhdat x11tiles beostiles pet_mark.xbm pilemark.xbm rip.xpm mapbg.xpm -rm -f rip.img GEM_RSC.RSC title.img nh16.img NetHack.ad diff --git a/sys/unix/Makefile.top b/sys/unix/Makefile.top index 5aea4e8d6..ad7607cd9 100644 --- a/sys/unix/Makefile.top +++ b/sys/unix/Makefile.top @@ -287,6 +287,7 @@ install: rootcheck $(GAME) recover $(VARDAT) dungeon spec_levs clean: ( cd src ; $(MAKE) clean ) ( cd util ; $(MAKE) clean ) + ( cd dat ; $(MAKE) clean ) ( cd doc ; $(MAKE) clean ) # 'make spotless' returns the source tree to near-distribution condition.