blob: c3c72391152a2d97b3dff99c46037fb616c5de1b (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
.POSIX:
NAME = package-repository
NAME_UC = EuAndreh's package repository
MAILING_LIST = public-inbox
TRANSLATIONS = pt fr eo es
CONTRIBLANGS =
guix-sources = \
src/xyz/euandreh/queue.scm \
src/xyz/euandreh/latest.scm \
src/xyz/euandreh/packages.scm \
src/xyz/euandreh/posix.scm \
src/xyz/euandreh/pending.scm
all:
for s in $(guix-sources); do guix build -Lsrc/ -K -f $$s || exit 1; done
nix-shell --run ''
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/
|