aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2018-12-21 21:54:20 -0200
committerEuAndreh <eu@euandre.org>2018-12-21 21:54:20 -0200
commitef1eb0e9fdf231530fd392a87db67595cb20e2da (patch)
tree11a3abd4daea3ee4f68a1d4218fa9f9ec3880634
parentUpdate links to source code. (diff)
downloadeuandre.org-ef1eb0e9fdf231530fd392a87db67595cb20e2da.tar.gz
euandre.org-ef1eb0e9fdf231530fd392a87db67595cb20e2da.tar.xz
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.
-rw-r--r--Makefile6
1 files 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: