mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 17:33:38 +00:00
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.
17 lines
595 B
Makefile
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.*'
|