* top/maint.mk (update-copyright): New rule.
Derived from coreutils/Makefile.am.
2009-08-04 Jim Meyering <meyering@redhat.com>
+ maint.mk: add a copyright-updating rule
+ * top/maint.mk (update-copyright): New rule.
+ Derived from coreutils/Makefile.am.
+
update-copyright: rename some variables
* build-aux/update-copyright: Rename a few variables for clarity.
Tweak syntax. List Joel E. Denny as coauthor.
.PHONY: indent
indent:
indent $(INDENT_SOURCES)
+
+# Run this rule once per year (usually early in January)
+# to update all FSF copyright year lists in your project.
+.PHONY: update-copyright
+update-copyright:
+ grep -l -w Copyright $$($(VC_LIST_EXCEPT)) \
+ | xargs $(build_aux)/$@