blob: 26893eae29372d0270e8cc20443693d8f26de568 (
plain) (
tree)
|
|
.POSIX:
.SUFFIXES:
.SUFFIXES: .in
.in:
sed \
-e "s|@HOSTNAME@|`hostname`|g" \
< $< > $@
if [ -x $< ]; then chmod +x $@; fi
all: EuAndreh.key guix nix
guix: guix-packages guix-services
guix-packages:
guix build -v3 -Lsrc/ -K \
-f src/org/euandre/packages.scm \
-f src/org/euandre/queue.scm \
guix-services-local:
rm -f result-local
guix system -v3 -Lsrc/ -K -r result-local build tests/local/system.scm
cmp -s result-local/etc/postfix/master.cf tests/local/master.cf
cmp -s result-local/etc/postfix/main.cf tests/local/main.cf
guix-services-internet: tests/internet/main.cf
rm -f result-internet
guix system -v3 -Lsrc/ -K -r result-internet build tests/internet/system.scm
cmp -s result-internet/etc/postfix/master.cf tests/internet/master.cf
cmp -s result-internet/etc/postfix/main.cf tests/internet/main.cf
guix-services: guix-services-local guix-services-internet
nix:
nix-build build.nix
refresh:
sh scripts/paku -rg
check:
clean:
rm -rf \
result* .paku/ deb/ tests/internet/main.cf
public:
EuAndreh.key:
gpg --armour --export eu@euandre.org > $@
|