aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 8cf27674be110e2b1c748dd0ef550d7f3eab9048 (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
NAME         = package-repository
MAILING_LIST = public-inbox

guix-sources = \
	src/xyz/euandreh/latest.scm   \
	src/xyz/euandreh/packages.scm \
	src/xyz/euandreh/posix.scm    \
	src/xyz/euandreh/queue.scm    \

all:
	for s in $(guix-sources); do guix build -Lsrc/ -f $$s; 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 $(NAME) $(NAME)
	sh aux/workflow/assert-readme.sh $(NAME) $(MAILING_LIST)

clean:
	rm -rf public/ dependencies.svg paku.html

dependencies.svg: dependencies.dot
	dot dependencies.dot -Tsvg > dependencies.svg

paku.html: paku.json
	sh scripts/paku -l

public: README.md TODOs.md dependencies.svg paku.html
	sh aux/workflow/public.sh "EuAndreh's package repository" $(NAME) $(MAILING_LIST)
	for f in EuAndreh.key dependencies.svg paku.html; do \
		cp $$f public/; \
	done