]> granicus.if.org Git - nethack/commitdiff
unix 'make clean' update
authorPatR <rankin@nethack.org>
Sat, 25 Jan 2020 20:08:28 +0000 (12:08 -0800)
committerPatR <rankin@nethack.org>
Sat, 25 Jan 2020 20:08:28 +0000 (12:08 -0800)
Remove dat/gitinfo.txt which has been getting overlooked.
Hardly urgent, but useful if this is the last 3.5.x release.

sys/unix/Makefile.dat
sys/unix/Makefile.top

index 466a14f63243c0792ed5d7aa58ee44fcf0ed83d8..00f6043961379dfd2d9c8ba0955709637599399c 100644 (file)
@@ -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
index 5aea4e8d65a9480c03be2561f334635ed01a2b63..ad7607cd984503f75a31d07c4efc04d32073c7d8 100644 (file)
@@ -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.