aboutsummaryrefslogtreecommitdiff
path: root/cockpit
diff options
context:
space:
mode:
Diffstat (limited to 'cockpit')
-rw-r--r--cockpit/Makefile19
-rw-r--r--cockpit/index.css (renamed from cockpit/cockpit.css)0
-rw-r--r--cockpit/index.html (renamed from cockpit/cockpit.html)2
3 files changed, 2 insertions, 19 deletions
diff --git a/cockpit/Makefile b/cockpit/Makefile
index ca7194a..23f8a8f 100644
--- a/cockpit/Makefile
+++ b/cockpit/Makefile
@@ -1,18 +1 @@
-dist/index.html: cockpit.html cockpit.css dist/main.js
- echo | pandoc --template cockpit.html --embed-resources --standalone > $@
-
-dist/main.js: $(wildcard js/*.js)
- $(MAKE) dev
-
-.PHONY: mock dev prod
-mock:
- npm run build:mock
- $(MAKE)
-
-dev:
- npm run build:dev
- $(MAKE)
-
-prod:
- npm run build
- $(MAKE)
+include ../common.mk
diff --git a/cockpit/cockpit.css b/cockpit/index.css
index 810442e..810442e 100644
--- a/cockpit/cockpit.css
+++ b/cockpit/index.css
diff --git a/cockpit/cockpit.html b/cockpit/index.html
index 909a109..d0bb0c7 100644
--- a/cockpit/cockpit.html
+++ b/cockpit/index.html
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>Cockpit</title>
- <link rel="stylesheet" href="cockpit.css">
+ <link rel="stylesheet" href="index.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="./dist/main.js"></script>
</head>