]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
chore: add `CONTRIBUTORS` target to Makefile
authorHarald Hoyer <harald@redhat.com>
Mon, 15 Feb 2021 15:18:33 +0000 (16:18 +0100)
committerHarald Hoyer <harald@hoyer.xyz>
Mon, 15 Feb 2021 15:54:44 +0000 (16:54 +0100)
Makefile

index 7eb318471dbd446c660f5d72df1270ea60e923d3..637e65be74a6abc8de5c50f9ea6ea3c579a17190 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -45,7 +45,7 @@ man8pages = dracut.8 \
 
 manpages = $(man1pages) $(man5pages) $(man7pages) $(man8pages)
 
-.PHONY: install clean archive rpm srpm testimage test all check AUTHORS doc dracut-version.sh
+.PHONY: install clean archive rpm srpm testimage test all check AUTHORS CONTRIBUTORS doc dracut-version.sh
 
 all: dracut-version.sh dracut.pc dracut-install skipcpio/skipcpio
 
@@ -284,6 +284,9 @@ efi: all
 AUTHORS:
        git shortlog  --numbered --summary -e |while read a rest || [ -n "$$rest" ]; do echo $$rest;done > AUTHORS
 
+CONTRIBUTORS:
+       @git shortlog $(DRACUT_MAIN_VERSION).. --numbered --summary -e |while read a rest || [ -n "$$rest" ]; do echo "- $$rest";done
+
 dracut.html.sign: dracut-$(DRACUT_MAIN_VERSION).tar.xz dracut.html
        gpg-sign-all dracut-$(DRACUT_MAIN_VERSION).tar.xz dracut.html