tidy-up: .gitignore lines mostly

- `.gitignore`: delete, dedupe and move rules upwards.
  Ref: 6389ba87b8 #13311
- `.gitignore`: fix generated test sources.
  Follow-up to 71cf0d1fca #14772
- `.gitignore`: replace exe listings with a wildcard.
- lib: move `setup-*.h` from `EXTRA_DIST` to `CURL_HFILES`.
- `makedebug.bat`: uppercase an argument to match docs.
- GHA/non-native: delete stray env.
  Follow-up to 12a6de2f66 #16043
- sort source lists.

Closes #16093
This commit is contained in:
Viktor Szakats 2025-01-26 15:28:56 +01:00
parent cb4cd36fe7
commit 5c31c2e670
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
30 changed files with 31 additions and 272 deletions

3
lib/.gitattributes vendored
View file

@ -1,3 +0,0 @@
# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
#
# SPDX-License-Identifier: curl

6
lib/.gitignore vendored
View file

@ -2,12 +2,6 @@
#
# SPDX-License-Identifier: curl
*.a
*.orig
*.rej
*.res
TAGS
curl_config.h
curl_config.h.in
libcurl.vers
stamp-h1

View file

@ -28,11 +28,9 @@ CMAKE_DIST = CMakeLists.txt curl_config.h.cmake
CHECKSRC_DIST = .checksrc vauth/.checksrc vquic/.checksrc vssh/.checksrc \
vtls/.checksrc
EXTRA_DIST = config-win32.h config-plan9.h \
config-riscos.h config-mac.h curl_config.h.in libcurl.rc \
config-os400.h setup-os400.h \
$(CMAKE_DIST) setup-win32.h Makefile.soname optiontable.pl libcurl.def \
$(CHECKSRC_DIST)
EXTRA_DIST = config-mac.h config-os400.h config-plan9.h config-riscos.h \
config-win32.h curl_config.h.in libcurl.rc libcurl.def \
$(CMAKE_DIST) Makefile.soname optiontable.pl $(CHECKSRC_DIST)
lib_LTLIBRARIES = libcurl.la

View file

@ -349,7 +349,9 @@ LIB_HFILES = \
select.h \
sendf.h \
setopt.h \
setup-os400.h \
setup-vms.h \
setup-win32.h \
share.h \
sigpipe.h \
slist.h \