Browse Source

Makefile: clean: Don't file if dist/ doesn't exist

Jakub Valenta 3 years ago
parent
commit
9917a3bb1a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -23,4 +23,4 @@ serve-en: jekyll/node_modules dist
 	cd dist/en; jekyll serve
 
 clean:
-	rm -r dist
+	[[ ! -d dist ]] || rm -r dist