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.