diff --git a/.gitattributes b/.gitattributes index d2c180284..9a775af52 100644 --- a/.gitattributes +++ b/.gitattributes @@ -13,3 +13,5 @@ README NHSUBST *.uu NH_header=no *.xpm NH_header=no .git* NH_header=no +* NH_filestag=(files_in_top_directory) +NetHack.dsw NH_filestag=(files_for_win32_that_are_moved_into_._at_compile_time) diff --git a/DEVEL/.gitattributes b/DEVEL/.gitattributes index 2e9843c2f..6945d7204 100644 --- a/DEVEL/.gitattributes +++ b/DEVEL/.gitattributes @@ -4,3 +4,4 @@ hooksdir/* NHSUBST * text=auto DOTGIT/TARGET NH_header=no hooksdir/TARGET NH_header=no +* NH_filestag=(files_for_people_developing_changes_to_NetHack) diff --git a/dat/.gitattributes b/dat/.gitattributes index ea45e32a3..35fea13b9 100644 --- a/dat/.gitattributes +++ b/dat/.gitattributes @@ -4,3 +4,5 @@ data.base NHSUBST symbols NHSUBST tribute NHSUBST +* NH_filestag=(files_for_all_versions) +..files NH_filegenprog diff --git a/doc/.gitattributes b/doc/.gitattributes index 41a7f6ff5..44f1b4b8e 100644 --- a/doc/.gitattributes +++ b/doc/.gitattributes @@ -7,3 +7,4 @@ Guidebook.txt NH_header=no tmac.n NH_header=no fixes* NH_header=no *.txt NH_header=no +* NH_filestag=(files_for_all_versions) diff --git a/include/.gitattributes b/include/.gitattributes new file mode 100644 index 000000000..e7576d56e --- /dev/null +++ b/include/.gitattributes @@ -0,0 +1,43 @@ +* NH_filestag=(files_for_all_versions) +..files NH_filegenerated=win32api.h,tile.h,dgn_comp.h,lev_comp.h,date.h,onames.h,pm.h,vis_tab.h + +win32api.h NH_filesgentag=(files_for_win32_that_are_moved_into_include_at_compile_time) + +tile.h NH_filesgentag=(file_for_tiles_support_copied_from_win/share_at_compile_time) + +dgn_comp.h NH_filesgentag=(files_generated_by_yacc_(or_copied_from_sys/share)_at_compile_time) +lev_comp.h NH_filesgentag=>dgn_comp.h + +date.h NH_filesgentag=(files_generated_by_makedefs_at_compile_time) +onames.h NH_filesgentag=>date.h +pm.h NH_filesgentag=>date.h +vis_tab.h NH_filesgentag=>date.h + +wintty.h NH_filestag=(file_for_tty_versions) + +tile2x11.h NH_filestag=(files_for_X_versions) +winX.h NH_filestag=>tile2x11.h +xwindow.h NH_filestag=>tile2x11.h +xwindowp.h NH_filestag=>tile2x11.h + +qt_clust.h NH_filestag=(files_for_Qt_versions) +qt_kde0.h NH_filestag=>qt_clust.h +qt_win.h NH_filestag=>qt_clust.h +qt_xpms.h NH_filestag=>qt_clust.h +qttableview.h NH_filestag=>qt_clust.h + +bitmfile.h NH_filestag=(files_for_GEM_versions) +gem_rsc.h NH_filestag=>bitmfile.h +load_img.h NH_filestag=>bitmfile.h +wingem.h NH_filestag=>bitmfile.h + +winGnome.h NH_filestag=(file_for_GNOME_versions) + +mac-carbon.h NH_filestag=(files_for_various_Macintosh_versions) +mac-qt.h NH_filestag=>mac-carbon.h +mac-term.h NH_filestag=>mac-carbon.h +macconf.h NH_filestag=>mac-carbon.h +macpopup.h NH_filestag=>mac-carbon.h +mactty.h NH_filestag=>mac-carbon.h +macwin.h NH_filestag=>mac-carbon.h +mttypriv.h NH_filestag=>mac-carbon.h diff --git a/src/.gitattributes b/src/.gitattributes new file mode 100644 index 000000000..3a899201c --- /dev/null +++ b/src/.gitattributes @@ -0,0 +1,14 @@ +* NH_filestag=(files_for_all_versions) +..files NH_filegenerated=Makefile,Makefile.bcc,Makefile.gcc,qt_kde0.moc,qt_win.moc,qttableview.moc,tile.c,monstr.c,vis_tab.c +Makefile.bcc NH_filesgentag=(files_for_win32_that_are_moved_into_src_at_compile_time) +Makefile.gcc NH_filesgentag=>Makefile.bcc +Makefile NH_filesgentag=>Makefile.bcc + +qt_kde0.moc NH_filesgentag=(files_generated_by_'moc'_for_Qt_interface_at_compile_time) +qt_win.moc NH_filesgentag=>qt_kde0.moc +qttableview.moc NH_filesgentag=>qt_kde0.moc + +tile.c NH_filesgentag=(file_optionally_generated_by_tilemap_at_compile_time) + +monstr.c NH_filesgentag=(files_generated_by_makedefs_at_compile_time) +vis_tab.c NH_filesgentag=>monstr.c diff --git a/sys/amiga/.gitattributes b/sys/amiga/.gitattributes index 7735c64ea..6a18c5a22 100644 --- a/sys/amiga/.gitattributes +++ b/sys/amiga/.gitattributes @@ -1 +1,2 @@ *.p NHSUBST +* NH_filestag=(files_for_Amiga_versions_-_untested_for_3.6.2) diff --git a/sys/atari/.gitattributes b/sys/atari/.gitattributes new file mode 100644 index 000000000..a29cd9375 --- /dev/null +++ b/sys/atari/.gitattributes @@ -0,0 +1 @@ +* NH_filestag=(files_for_Atari_version_-_untested_for_3.6.2) diff --git a/sys/be/.gitattributes b/sys/be/.gitattributes new file mode 100644 index 000000000..dfb5c452b --- /dev/null +++ b/sys/be/.gitattributes @@ -0,0 +1 @@ +* NH_filestag=(files_for_BeOS_version_-_untested_for_3.6.2) diff --git a/sys/mac/.gitattributes b/sys/mac/.gitattributes index 8f8defc69..40f2cee6c 100644 --- a/sys/mac/.gitattributes +++ b/sys/mac/.gitattributes @@ -1 +1,2 @@ NHDeflts NHSUBST +* NH_filestag=(files_for_68K_Macintosh_versions) diff --git a/sys/msdos/.gitattributes b/sys/msdos/.gitattributes index 304a2432d..f2ae83ab5 100644 --- a/sys/msdos/.gitattributes +++ b/sys/msdos/.gitattributes @@ -4,3 +4,6 @@ Makefile.* NHSUBST Install.* NHSUBST moveinit.pat NH_header=no vesa.h NH_header=no +* NH_filestag=(files_for_MSDOS_version_-_untested_for_3.6.2) +nhico.uu NH_filestag=(files_for_running_MSDOS_binary_under_Windows) +nhpif.uu NH_filestag=>nhico.uu diff --git a/sys/os2/.gitattributes b/sys/os2/.gitattributes index 31e18fe84..ed1fcb8bd 100644 --- a/sys/os2/.gitattributes +++ b/sys/os2/.gitattributes @@ -1 +1,2 @@ Makefile.* NHSUBST +* NH_filestag=(files_for_OS/2_version_-_untested_for_3.6.2) diff --git a/sys/share/.gitattributes b/sys/share/.gitattributes index 4eede48ab..64fc95751 100644 --- a/sys/share/.gitattributes +++ b/sys/share/.gitattributes @@ -4,3 +4,41 @@ termcap NH_header=no dgn_comp.h NH_header=no lev_comp.h NH_header=no Makefile.lib NH_header=no + +Makefile.lib NH_filestag=(files_for_MSDOS_and_OS/2_versions_-_untested_for_3.6.2) +#termcap.uu NH_filestag=(files_for_MSDOS_and_OS/2_versions_-_untested_for_3.6.2) +termcap.uu NH_filestag=>Makefile.lib + +pcmain.c NH_filestag=(file_for_MSDOS,_OS/2,_NT,_Amiga,_and_Atari_versions_-_untested_for_3.6.2) + +pcsys.c NH_filestag=(files_for_MSDOS,_OS/2,_NT,_and_Atari_versions_-_untested_for_3.6.2) +pcunix.c NH_filestag=>pcsys.c + +NetHack.cnf NH_filestag=(file_for_MSDOS,_OS/2,_and_Atari_versions_-_untested_for_3.6.2) +pctty.c NH_filestag=>NetHack.cnf + +ioctl.c NH_filestag=(files_for_UNIX_and_Be_versions) +unixtty.c NH_filestag=>ioctl.c + +nhlan.c NH_filestag=(file_for_NT_version) + +random.c NH_filestag=(Berkeley_random_number_file,_which_may_be_included_in_any_version) + +uudecode.c NH_filestag=(Berkeley_uudecode_file,_which_may_be_used_in_build_process_of_any_version) + +tclib.c NH_filestag=(file_for_VMS_version) + +termcap NH_filestag=(file_for_MSDOS,_OS/2,_and_VMS_versions) + +dgn_comp.h NH_filestag=(lex/yacc_output_for_special_level_and_dungeon_compilers) +dgn_lex.c NH_filestag=>dgn_comp.h +dgn_yacc.c NH_filestag=>dgn_comp.h +lev_comp.h NH_filestag=>dgn_comp.h +lev_lex.c NH_filestag=>dgn_comp.h +lev_yacc.c NH_filestag=>dgn_comp.h + +posixregex.c NH_filestag=(posix_regex_for_versions_that_include_regex_in_their_C_library) + +cppregex.cpp NH_filestag=(c++_regex_code_for_versions_that_can_build_a_C++_module_and_link_it_in) + +pmatchregex.c NH_filestag=(pmatch_regex_for_other_versions) diff --git a/sys/share/sounds/.gitattributes b/sys/share/sounds/.gitattributes new file mode 100644 index 000000000..8ae5b8426 --- /dev/null +++ b/sys/share/sounds/.gitattributes @@ -0,0 +1 @@ +* NH_filestag=(files_for_Amiga_and_Macintosh_versions) diff --git a/sys/unix/.gitattributes b/sys/unix/.gitattributes index 277998292..9a3ac99da 100644 --- a/sys/unix/.gitattributes +++ b/sys/unix/.gitattributes @@ -5,3 +5,6 @@ README.linux NHSUBST depend.awk NHSUBST sysconf NHSUBST *shr NH_header=no +* NH_filestag=(files_for_UNIX_versions) +cpp?.shr NH_filestag=(files_for_replacement_cpp,_only_needed_by_some_ancient_UNIX_systems) +snd86unx.shr NH_filestag=(file_for_sound_driver_for_386_UNIX) diff --git a/sys/unix/hints/.gitattributes b/sys/unix/hints/.gitattributes index db77844f7..439ff0cf5 100644 --- a/sys/unix/hints/.gitattributes +++ b/sys/unix/hints/.gitattributes @@ -1 +1,2 @@ * NHSUBST +* NH_filestag=(files_for_configuring_UNIX_NetHack_versions) diff --git a/sys/vms/.gitattributes b/sys/vms/.gitattributes index fe31b9c25..741f784a4 100644 --- a/sys/vms/.gitattributes +++ b/sys/vms/.gitattributes @@ -2,3 +2,4 @@ Makefile.* NHSUBST *.com NHSUBST Install.vms NHSUBST sysconf NHSUBST +* NH_filestag=(files_for_VMS_version) diff --git a/sys/wince/.gitattributes b/sys/wince/.gitattributes index fbe75bcd4..e4c3c0414 100644 --- a/sys/wince/.gitattributes +++ b/sys/wince/.gitattributes @@ -1,3 +1,4 @@ *.ce NHSUBST *.mak NHSUBST *.bat NHSUBST +* NH_filestag=(files_for_Windows_CE_and_PocketPC_-_untested_for_3.6.2) diff --git a/sys/wince/ceinc/.gitattributes b/sys/wince/ceinc/.gitattributes new file mode 100644 index 000000000..84ca17085 --- /dev/null +++ b/sys/wince/ceinc/.gitattributes @@ -0,0 +1 @@ +* NH_filestag=(header_files_for_Windows_CE_and_PocketPC_-_untested_for_3.6.2) diff --git a/sys/wince/ceinc/sys/.gitattributes b/sys/wince/ceinc/sys/.gitattributes new file mode 100644 index 000000000..ba88adb8a --- /dev/null +++ b/sys/wince/ceinc/sys/.gitattributes @@ -0,0 +1 @@ +* NH_filestag=(sys/stat.h_for_Windows_CE_and_PocketPC_-_untested_for_3.6.2) diff --git a/sys/winnt/.gitattributes b/sys/winnt/.gitattributes index a13efc66c..4820d9830 100644 --- a/sys/winnt/.gitattributes +++ b/sys/winnt/.gitattributes @@ -5,3 +5,6 @@ sysconf NHSUBST *.rc NHSUBST *.bat NHSUBST *.def NH_header=no +* NH_filestag=(files_for_Windows_7/8.x/10_version) +..files NH_filegenerated=nethack.ico +nethack.ico NH_filesgentag=(files_generated_by_uudecode_at_compile_time) diff --git a/util/.gitattributes b/util/.gitattributes index 8b2657e61..6faf9258f 100644 --- a/util/.gitattributes +++ b/util/.gitattributes @@ -1,2 +1,14 @@ *.pl NHSUBST *.[ly] NHSUBST +* NH_filestag=(files_for_all_versions) +*.[ly] NH_filestag=(lex/yacc_input_for_special_level_and_dungeon_compilers) + +..files NH_filegenerated=uudecode.exe,tiletxt.c,dgn_lex.c,dgn_yacc.c,lev_lex.c,lev_yacc.c +uudecode.exe NH_filesgentag=(files_generated_for_win32_at_compile_time) +tiletxt.c NH_filesgentag=(file_generated_for_unix_at_compile_time_if_various_tiles_utilities_are_built) + +dgn_lex.c NH_filesgentag=(files_generated_by_lex_and_yacc_(or_copied_from_sys/share)_at_compile_time) +dgn_yacc.c NH_filesgentag=>dgn_lex.c +lev_lex.c NH_filesgentag=>dgn_lex.c +lev_yacc.c NH_filesgentag=>dgn_lex.c + diff --git a/win/Qt/.gitattributes b/win/Qt/.gitattributes index 2d4096a92..a29f23c7c 100644 --- a/win/Qt/.gitattributes +++ b/win/Qt/.gitattributes @@ -1,3 +1,4 @@ Install.Qt NHSUBST qpe-nethack.control NH_header=no knethack.lnk NH_header=no +* NH_filestag=(files_for_the_Qt_3_widget_library_-_X11,_Windows,_Mac_OS_X,_or_Qtopia) diff --git a/win/Qt4/.gitattributes b/win/Qt4/.gitattributes new file mode 100644 index 000000000..278f7fff3 --- /dev/null +++ b/win/Qt4/.gitattributes @@ -0,0 +1 @@ +* NH_filestag=(files_for_the_Qt_4_widget_library_-_X11,_Windows,_Mac_OS_X) diff --git a/win/X11/.gitattributes b/win/X11/.gitattributes index eabdbfd44..60296c63f 100644 --- a/win/X11/.gitattributes +++ b/win/X11/.gitattributes @@ -4,3 +4,4 @@ Install.X11 NHSUBST nethack.rc NHSUBST *.bdf NH_header=no *.xbm NH_header=no +* NH_filestag=(files_for_X_versions) diff --git a/win/chain/.gitattributes b/win/chain/.gitattributes new file mode 100644 index 000000000..f04f3fd5c --- /dev/null +++ b/win/chain/.gitattributes @@ -0,0 +1 @@ +* NH_filestag=(files_for_stacking_window_systems) diff --git a/win/gem/.gitattributes b/win/gem/.gitattributes new file mode 100644 index 000000000..6f069c7ac --- /dev/null +++ b/win/gem/.gitattributes @@ -0,0 +1 @@ +* NH_filestag=(files_for_GEM_versions_-_untested_for_3.6.2) diff --git a/win/gnome/.gitattributes b/win/gnome/.gitattributes new file mode 100644 index 000000000..89e0d5508 --- /dev/null +++ b/win/gnome/.gitattributes @@ -0,0 +1 @@ +* NH_filestag=(files_for_GNOME_versions_-_untested_for_3.6.2) diff --git a/win/macosx/.gitattributes b/win/macosx/.gitattributes index a4bf76e47..5dbef9854 100644 --- a/win/macosx/.gitattributes +++ b/win/macosx/.gitattributes @@ -1 +1,2 @@ *.applescript NHSUBST +* NH_filestag=(files_for_macosx_versions) diff --git a/win/share/.gitattributes b/win/share/.gitattributes index 09f9406f6..9f6413f47 100644 --- a/win/share/.gitattributes +++ b/win/share/.gitattributes @@ -1 +1,2 @@ tile.doc NHSUBST +* NH_filestag=(files_for_versions_using_optional_tiles) diff --git a/win/tty/.gitattributes b/win/tty/.gitattributes new file mode 100644 index 000000000..66425e23c --- /dev/null +++ b/win/tty/.gitattributes @@ -0,0 +1 @@ +* NH_filestag=(files_for_tty_versions) diff --git a/win/win32/.gitattributes b/win/win32/.gitattributes index 19106e2bb..56edfff89 100644 --- a/win/win32/.gitattributes +++ b/win/win32/.gitattributes @@ -8,3 +8,4 @@ *.props NH_header=no resource.h NH_header=no nhresource.h NH_header=no +* NH_filestag=(files_for_Windows_versions_-_tested_up_to_Windows_10) diff --git a/win/win32/vs2017/.gitattributes b/win/win32/vs2017/.gitattributes new file mode 100644 index 000000000..03688768a --- /dev/null +++ b/win/win32/vs2017/.gitattributes @@ -0,0 +1 @@ +* NH_filestag=(files_for_Visual_Studio_2017_Community_Edition_builds)