Skip to content

Commit

Permalink
Updated makefile desc and readme for gnulib test
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchcapper committed Feb 15, 2025
1 parent c054b2c commit a5c6759
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion build/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -558,4 +558,8 @@ after clone
cp gnulib/build-aux/bootstrap.conf .
#it doesn't use extras so we can just ad ours, they use paxutils to gnulib everyhting
echo "gnulib_tool_option_extras=\" --without-tests --symlink\"" >> bootstrap.conf
```
```

## gnulib tests
### Template Script Args
``--BUILD_NAME gnulib_test --HaveOurPatch=0 --GitRepo https://github.com/mitchcapper/__empty --GNU_LIBS_ADD_TO_REPO 1 --CONFIG_NO_TESTS=0`
4 changes: 2 additions & 2 deletions repo_notes/make_README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# make

Several items are done in the build script rather than as a source patch. Note, while this does supporting building without a real shell (bash/sh) any complex makefiles won't work.
Several items are done in the build script rather than as a source patch. Note, while this does support building without a real shell (bash/sh) any complex makefiles won't work (aka if they have shell commands). The goal is to allow the user to have ultimate say in what shells are used without having to manually edit makefiles.

[Original Source](https://savannah.gnu.org/projects/make/) | [Changes](https://github.com/mitchcapper/make/compare/master...win32_enhancements)

- Standard GNULIB patches
- Mostly removing some of the hardcoded/included gnulib based modules for the newer official gnulib modules (clearing out gl/lib/* gl/modules/*)
- Changed the shell detection/override support to work across all platforms and have more configurability following ENV vars:
- **MAKESHELL** - shell to use as long as makefile doesn't override it
- **NOMAKESHELL** - semicolon separated list of shells that are ignored if read from a makefile as the shell
- **NOMAKESHELL** - semicolon separated list of shells that are ignored if read from a makefile as the shell, sometimes software explicitly has in the Makefile to use bash or some other shell, if we are trying to force it to use a different shell it would fail here. This allows you exclude one or more shells from ever being used even if the makefile calls for that shell specifically.
- **DEFAULTSHELL** - the shell to consider the default shell for the platform.  This only matters in situations that GNU make thinks it can execute a call to itself directly.  When this is not equal to the shell in use then the shell is called for all executes (Ensuring if they want to do something else it occurs). When equal it can just start itself.

0 comments on commit a5c6759

Please sign in to comment.