From ef1eb0e9fdf231530fd392a87db67595cb20e2da Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 21 Dec 2018 21:54:20 -0200 Subject: Rely on Nix semantics to not build things twice. Instead of improving the current logic, we can reliably expect that Nix will produce the same output given the same input. --- Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 4bbb974..c64c4c8 100644 --- a/Makefile +++ b/Makefile @@ -6,11 +6,9 @@ all: clean build publish .PHONY: all ## Build full website. -build: result -.PHONY: build - -result: +build: nix-build +.PHONY: build ## Remove all files not tracked by git. clean: -- cgit v1.2.3