[Chapel Merge] Fix broken chpl builds when using make install

Branch: refs/heads/main
Revision: a30b262
Author: aconsroe-hpe
Link: Fix broken chpl builds when using make install by aconsroe-hpe · Pull Request #18764 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #18764 from aconsroe-hpe/fix/jemalloc-install

Fix broken chpl builds when using make install

reviewed by mppf

Fixes #18763

Recent changes to jemalloc renamed jemalloc/Makefile.include ->
jemalloc/Makefile.target.include -- This caused the install script to
not copy it over into the install prefix, resulting in a missing
Makefile.

The fix is to copy over any Makefile* in a third-party dir instead of
just Makefile.include . This copies over a few Makefiles not strictly
necessary, but should prevent similar errors in the future

Tested by doing a make install and then compiling hello world.

Modified Files:
M util/buildRelease/install.sh

Compare: https://github.com/chapel-lang/chapel/compare/c073e96a4a00...a30b262d51a2