The commit makes the following changes: - The package listing script now requires the user specify which package manager they're using. This approach resolves the ambiguity if a system has more than one package manager (ie: macports & brew) - Adds packages for Fedora, RedHat/CentOS, Arch, and OpenSuse - Eliminates unecessary code in the package manager script (more can be eliminate at the expense of complexity) - Made a couple minor fixes to the build script - Tried to further "standardize" the workflows as follows: - names are Compiler Version (Environment) - Sorted them alphabetically in their respective YAMLs - Minor spacing adjustment to align values (where it makes sense) - Dropped quotes around some of the string values because I'd rather our YAML be consistent and propper instead of changing our YAML to suite the limitations of an editor (can a different plugin or better parser be used?) - Added macOS workflows for Homebrew and MacPorts, both ready to go and tested, but with the build step just commented out
33 lines
1.1 KiB
Makefile
33 lines
1.1 KiB
Makefile
# Main Makefile for DOSBox
|
|
|
|
EXTRA_DIST = autogen.sh
|
|
SUBDIRS = src include docs visualc_net
|
|
|
|
# Per the auto-tools clean guidelines:
|
|
# https://www.gnu.org/savannah-checkouts/gnu/automake/manual/html_node/Clean.html#Clean
|
|
#
|
|
# "if configure built it, then 'distclean' should delete it", however the generated
|
|
# _distclean_ target misses many files generated by ./configure, so we augment them
|
|
# here. We also add those files generated by automake and autoconf to ensure 'distclean'
|
|
# reverts the directory back to its original as-distributed source tree.
|
|
#
|
|
# (note: with recursive makefiles, these files could be defined as individual distclean-local:
|
|
# targets inside each sub-directory's Makefile.am, however listing them in one target here
|
|
# is easier manage as they can all be seen at once.)
|
|
|
|
distclean-local:
|
|
-rm aclocal.m4
|
|
-rm build.log
|
|
-rm compile
|
|
-rm config.guess
|
|
-rm config.h.in
|
|
-rm config.h.in~
|
|
-rm config.log
|
|
-rm config.sub
|
|
-rm configure
|
|
-rm depcomp
|
|
-rm install-sh
|
|
-rm missing
|
|
-rm -rf autom4te.cache
|
|
-find . -name Makefile.in -type f -delete
|
|
-find . -name .deps -type d -exec rm -rf {} +
|