Files
mercury/git_hooks/Makefile
Zoltan Somogyi ae701f4200 Improve pre-commit git_hook.
git_hooks/update_copyright.pre-commit:
    Document the operation of this script in more detail.

    Document the use of the new Makefile, and of the new environment
    variable that can be used to avoid redundant copies of the update_copyright
    program's executable.

git_hooks/Makefile:
    Add a trivial makefile to shorten the build and clean commands.

git_hooks/update_copyright.m:
    Merge contiguous year ranges in copyright lines.
2024-03-13 16:50:00 +11:00

17 lines
595 B
Makefile

#---------------------------------------------------------------------------#
# vim: ts=8 sw=8 noexpandtab
#---------------------------------------------------------------------------#
#
# A makefile for the update_copyright program.
#
# This Makefile is designed for manual operation by Mercury developers;
# it is *not* designed to be invoked by any action in any other Makefile
# or Mmakefile, in any other part of that workspace.
#
update_copyright: update_copyright.m
mmc --mercury-linkage static update_copyright.m
clean:
git clean -fx 'update_copyright.*' 'update_copyright_init.*'