Commit Graph

7 Commits

Author SHA1 Message Date
Julien Fischer
f7837e2f94 Fix copyright notices in some Mmakefiles.
extras/*/Mmakefile:
    As above.
2025-05-05 15:50:03 +10:00
Zoltan Somogyi
89b3e1dca3 Add "ft=make" to the modelines of Mmakefiles.
Add some missing .PHONY markers, and delete a stray .PHONY marker.

Add some missing copyright years.
2025-05-05 07:58:50 +10:00
Zoltan Somogyi
c148ce54fe Update style in a bunch of Mmakefiles.
Mmake.common.in:
bindist/Mmakefile:
compiler/Mmakefile:
compiler/notes/Mmakefile:
doc/Mmakefile:
extras/align_right/Mmakefile:
extras/base64/Mmakefile:
extras/dynamic_linking/Mmakefile:
extras/error/Mmakefile:
extras/fixed/Mmakefile:
extras/graphics/samples/gears/Mmakefile.MacOSX:
extras/graphics/samples/maze/Mmakefile.MacOSX:
extras/lex/Mmakefile:
extras/monte/Mmakefile:
extras/posix/Mmakefile:
extras/references/Mmakefile:
extras/references/samples/Mmakefile:
extras/split_file/Mmakefile:
library/Mmakefile:
mdbcomp/Mmakefile:
runtime/Mmakefile:
scripts/Mmakefile:
ssdb/Mmakefile:
tests/Mmake.common:
tests/mmc_make/Mmakefile:
trace/Mmakefile:
util/Mmakefile:
    Invoke the sh builtin "test" as "test", not as "[".

    Make some target names more descriptive.

    Fix indentation.
2024-09-17 11:09:18 +02:00
Mark Brown
d465fa53cb Update the COPYING.LIB file and references to it.
Discussion of these changes can be found on the Mercury developers
mailing list archives from June 2018.

COPYING.LIB:
    Add a special linking exception to the LGPL.

*:
    Update references to COPYING.LIB.

    Clean up some minor errors that have accumulated in copyright
    messages.
2018-06-09 17:43:12 +10:00
Zoltan Somogyi
d33273d033 Tell vim not to expand tabs in Makefiles.
This file-specific setting will override a default setting of expandtabs
in $HOME/.vimrc.

*/Makefile:
*/Mmakefile:
    As above.

tests/hard_coded/.gitignore:
    Don't ignore the purity subdir. This ignore must have been left over
    from when purity.m was a test in hard_coded, not hard_coded/purity,
    and it ignored an executable, not a directory.
2015-01-08 22:07:29 +11:00
Zoltan Somogyi
d45775f9d4 Update this program to conform to our current style guide.
Estimated hours taken: 1
Branches: main

extras/error/error.m:
	Update this program to conform to our current style guide. Convert to
	four-space indentation, replace DCGs with state variables, replace
	io.see and io.tell with io.open_input and io.open_output, simplify
	the code by using library functions when possible, avoid unnecessarily
	wrapping data structures in maybes, use map.det_insert or
	map.det_update instead of map.set where possible, and use better
	names for variables and types.

extras/error/Mmakefile:
	Link the Mercury libraries statically, to allow the libraries error is
	linked again to be deleted (e.g. because they are superseded by newer
	versions at other pathnames) without error ceasing to work.
2008-10-03 07:26:49 +00:00
Zoltan Somogyi
047e83763d Add Tom and Tyson's error program to the repository.
Estimated hours taken: 0.2
Branches: main

extras/error/error.m:
extras/error/Mmakefile:
extras/error/README:
	Add Tom and Tyson's error program to the repository.
2003-04-12 03:33:41 +00:00