aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2022-03-29 01:50:28 +0200
committern-peugnet <n.peugnet@free.fr>2022-03-29 01:50:28 +0200
commitdde2e2757c033ee1dff2aecfe445f1058eb6ef42 (patch)
treebe44ac41ac10e302b5fe736c89f788eb7696ae41 /Makefile
parentc8b9b389c5785df2a14b471daf65002c5e054e0d (diff)
downloadclub1-docs-dde2e2757c033ee1dff2aecfe445f1058eb6ef42.tar.gz
club1-docs-dde2e2757c033ee1dff2aecfe445f1058eb6ef42.zip
docs: more info about how to edit and credit authors
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8bf931c..fca9e4c 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@
LOCALES := en
LOCALEFILES := $(LOCALES:%=locales/%/LC_MESSAGES/package.po) $(LOCALES:%=locales/%/LC_MESSAGES/sphinx.po)
-export COPYRIGHT := Nicolas PEUGNET
+export AUTHORS := $(shell awk '{printf t $$0; t=", "}' AUTHORS)
export PACKAGE := CLUB1
export VERSION := main
export EMAIL := nicolas@club1.fr
@@ -43,7 +43,7 @@ $(LOCALEFILES): locales/%.po: locales/$$(*F).pot
locales/package.pot locales/sphinx.pot: locales/%.pot: $(BUILDDIR)/gettext/%.pot
xgettext $< -o $@ -w 77 \
- --copyright-holder='$(COPYRIGHT)' --package-name='$(PACKAGE)' \
+ --copyright-holder='$(AUTHORS)' --package-name='$(PACKAGE)' \
--package-version='$(VERSION)' --msgid-bugs-address='$(EMAIL)'
$(BUILDDIR)/gettext/%.pot: gettext;