#!/usr/bin/perl
# NetHack 3.7   GENFILES      $NHDT-Date: 1596498242 2020/08/03 23:44:02 $  $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.2 $
#       Copyright (c) 2018 by Kenneth Lorber
# NetHack may be freely redistributed.  See license for details.

# 2 sections:
#   *.lev entries are generated by reading *.des
#   hardcoded entries are in __DATA__

($dir = $0) =~ s!^(.*/)(.*)!$1!;

#print "T (files generated by lev_comp at playground creation time)\n";
#
#foreach $des (<$dir*.des>){
#    open IN, "<", $des or warn("Can't open $des: $!");
#    while(<IN>){
#	m/^(MAZE|LEVEL):\s*"(.*?)"/ && do {
#	    print "F $2.lev\n";
#	};
#    }
#    close IN;
#}
while(<DATA>){
    print;
}

__DATA__
T (tile files optionally generated for X ports at playground creation time)
F pet_mark.xbm
F rip.xpm
F x11tiles
T (files generated for Qt interface on macOS)
F nethack.icns
F Info.plist
T (files generated for windows at compile time)
F porthelp
F dlb.lst
T (files generated for windows tty at compile time)
F ttyoptions
T (files generated for windows gui at compile time)
F guioptions
T (files generated by makedefs at playground creation time)
F data
F options
F oracles
F rumors
