update .gitattributes files for auto-generation of Files

This commit is contained in:
keni
2018-05-29 19:28:26 -04:00
parent aec409262e
commit 9858f69fa8
33 changed files with 144 additions and 0 deletions

2
.gitattributes vendored
View File

@@ -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)

View File

@@ -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)

2
dat/.gitattributes vendored
View File

@@ -4,3 +4,5 @@
data.base NHSUBST
symbols NHSUBST
tribute NHSUBST
* NH_filestag=(files_for_all_versions)
..files NH_filegenprog

1
doc/.gitattributes vendored
View File

@@ -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)

43
include/.gitattributes vendored Normal file
View File

@@ -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

14
src/.gitattributes vendored Normal file
View File

@@ -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

View File

@@ -1 +1,2 @@
*.p NHSUBST
* NH_filestag=(files_for_Amiga_versions_-_untested_for_3.6.2)

1
sys/atari/.gitattributes vendored Normal file
View File

@@ -0,0 +1 @@
* NH_filestag=(files_for_Atari_version_-_untested_for_3.6.2)

1
sys/be/.gitattributes vendored Normal file
View File

@@ -0,0 +1 @@
* NH_filestag=(files_for_BeOS_version_-_untested_for_3.6.2)

View File

@@ -1 +1,2 @@
NHDeflts NHSUBST
* NH_filestag=(files_for_68K_Macintosh_versions)

View File

@@ -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

View File

@@ -1 +1,2 @@
Makefile.* NHSUBST
* NH_filestag=(files_for_OS/2_version_-_untested_for_3.6.2)

View File

@@ -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)

1
sys/share/sounds/.gitattributes vendored Normal file
View File

@@ -0,0 +1 @@
* NH_filestag=(files_for_Amiga_and_Macintosh_versions)

View File

@@ -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)

View File

@@ -1 +1,2 @@
* NHSUBST
* NH_filestag=(files_for_configuring_UNIX_NetHack_versions)

View File

@@ -2,3 +2,4 @@ Makefile.* NHSUBST
*.com NHSUBST
Install.vms NHSUBST
sysconf NHSUBST
* NH_filestag=(files_for_VMS_version)

View File

@@ -1,3 +1,4 @@
*.ce NHSUBST
*.mak NHSUBST
*.bat NHSUBST
* NH_filestag=(files_for_Windows_CE_and_PocketPC_-_untested_for_3.6.2)

1
sys/wince/ceinc/.gitattributes vendored Normal file
View File

@@ -0,0 +1 @@
* NH_filestag=(header_files_for_Windows_CE_and_PocketPC_-_untested_for_3.6.2)

1
sys/wince/ceinc/sys/.gitattributes vendored Normal file
View File

@@ -0,0 +1 @@
* NH_filestag=(sys/stat.h_for_Windows_CE_and_PocketPC_-_untested_for_3.6.2)

View File

@@ -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)

12
util/.gitattributes vendored
View File

@@ -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

View File

@@ -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)

1
win/Qt4/.gitattributes vendored Normal file
View File

@@ -0,0 +1 @@
* NH_filestag=(files_for_the_Qt_4_widget_library_-_X11,_Windows,_Mac_OS_X)

View File

@@ -4,3 +4,4 @@ Install.X11 NHSUBST
nethack.rc NHSUBST
*.bdf NH_header=no
*.xbm NH_header=no
* NH_filestag=(files_for_X_versions)

1
win/chain/.gitattributes vendored Normal file
View File

@@ -0,0 +1 @@
* NH_filestag=(files_for_stacking_window_systems)

1
win/gem/.gitattributes vendored Normal file
View File

@@ -0,0 +1 @@
* NH_filestag=(files_for_GEM_versions_-_untested_for_3.6.2)

1
win/gnome/.gitattributes vendored Normal file
View File

@@ -0,0 +1 @@
* NH_filestag=(files_for_GNOME_versions_-_untested_for_3.6.2)

View File

@@ -1 +1,2 @@
*.applescript NHSUBST
* NH_filestag=(files_for_macosx_versions)

View File

@@ -1 +1,2 @@
tile.doc NHSUBST
* NH_filestag=(files_for_versions_using_optional_tiles)

1
win/tty/.gitattributes vendored Normal file
View File

@@ -0,0 +1 @@
* NH_filestag=(files_for_tty_versions)

View File

@@ -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)

1
win/win32/vs2017/.gitattributes vendored Normal file
View File

@@ -0,0 +1 @@
* NH_filestag=(files_for_Visual_Studio_2017_Community_Edition_builds)