blob: 8c2c0d7c92f621c767cc55bf0d13fd3a8e945e8f (
plain) (
tree)
|
|
.POSIX:
NAME = package-repository
NAME_UC = EuAndreh's package repository
MAILING_LIST = public-inbox
TRANSLATIONS = pt fr eo es
CONTRIBLANGS =
all:
guix build -Lsrc/ -K \
-f src/xyz/euandreh/packages.scm \
-f src/xyz/euandreh/queue.scm \
refresh:
sh scripts/paku -rg
check:
dev-check: check
sh aux/assert-nixfmt.sh
sh aux/assert-shellcheck.sh
sh aux/workflow/assert-todos.sh
sh aux/workflow/assert-changelog.sh -n $(NAME)
sh aux/workflow/assert-readme.sh -n $(NAME) -m $(MAILING_LIST)
clean:
rm -rf \
public/ README.*.md CHANGELOG.*.md messages.mo
public/dependencies.svg: dependencies.dot
mkdir -p public
dot -Tsvg < $? > $@
public/paku.html: paku.json
mkdir -p public
sh scripts/paku -l
README.en.md: README.md
ln -fs $? $@
CHANGELOG.en.md: CHANGELOG.md
ln -fs $? $@
l10n-gen: README.en.md CHANGELOG.en.md
sh aux/workflow/l10n.sh -l '$(TRANSLATIONS)' -L '$(CONTRIBLANGS)' $?
public: l10n-gen all TODOs.md public/dependencies.svg public/paku.html
sh aux/workflow/public.sh -l '$(TRANSLATIONS) $(CONTRIBLANGS) en' \
-N "$(NAME_UC)" -n $(NAME) -m $(MAILING_LIST) -o public
cp EuAndreh.key public/
|