From 5c7cbafdeb0c1fc15d238796aacbe6b7ea7fd2b8 Mon Sep 17 00:00:00 2001
From: Janne Koschinski <janne@kuschku.de>
Date: Tue, 6 Mar 2018 15:43:54 +0100
Subject: [PATCH] Improved assets

---
 Makefile     | 6 ------
 package.json | 2 +-
 2 files changed, 1 insertion(+), 7 deletions(-)
 delete mode 100644 Makefile

diff --git a/Makefile b/Makefile
deleted file mode 100644
index 0f7c8a2..0000000
--- a/Makefile
+++ /dev/null
@@ -1,6 +0,0 @@
-PUG = $(shell pwd)/node_modules/pug-cli/index.js --basedir .
-
-all: index.html privacy-policy/index.html releases/index.html
-
-%.html: %.pug
-	$(PUG) $<
diff --git a/package.json b/package.json
index 278475a..8c2a77b 100644
--- a/package.json
+++ b/package.json
@@ -3,7 +3,7 @@
   "version": "3.0.0",
   "description": "This is a websearch frontend for a quassel database.",
   "scripts": {
-    "pug": "make -j8",
+    "pug": "node_modules/pug-cli/index.js --basedir . **/index.pug index.pug",
     "sass": "cd assets/css && make -j8",
     "images": "assets/images/generate_makefile.sh && cd assets/images && make -j8",
     "build": "npm run images && npm run sass && npm run pug"
-- 
GitLab