summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMandragorat Wandystanu <wktir@wandystan.eu>2017-11-18 01:26:16 +0100
committerMandragorat Wandystanu <wktir@wandystan.eu>2017-11-18 01:26:16 +0100
commit512fb6d72f897e688143dee13ae5fd6b87cb4791 (patch)
tree6edd71f8cee1fd0c5ef9397ff32df482f53098c4 /Makefile
parent66561d4b4fe195b81446c94bdbfdcda4fb7167f7 (diff)
New site layout.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 95beb41..d0e84fb 100644
--- a/Makefile
+++ b/Makefile
@@ -12,14 +12,14 @@ MODULES="php"
all: builddirs npm_dependencies swig htmlmin min-css min-js copy-img submodules
swig:
- $(NODE) node_modules/swig/bin/swig.js render -j dist.json templates/faq.swig > $(CURDIR)/build/faq.html
- $(NODE) node_modules/swig/bin/swig.js render -j dist.json templates/index.swig > $(CURDIR)/build/index.html
- $(NODE) node_modules/swig/bin/swig.js render -j dist.json templates/tools.swig > $(CURDIR)/build/tools.html
+ $(NODE) node_modules/swig/bin/swig.js render -j dist.json templates/upload_logged.swig > $(CURDIR)/build/upload_logged.html
+ $(NODE) node_modules/swig/bin/swig.js render -j dist.json templates/upload_unlogged.swig > $(CURDIR)/build/upload_unlogged.html
+ $(NODE) node_modules/swig/bin/swig.js render -j dist.json templates/404.swig > $(CURDIR)/build/404.html
htmlmin:
- $(NODE) node_modules/htmlmin/bin/htmlmin $(CURDIR)/build/index.html -o $(CURDIR)/build/index.html
- $(NODE) node_modules/htmlmin/bin/htmlmin $(CURDIR)/build/faq.html -o $(CURDIR)/build/faq.html
- $(NODE) node_modules/htmlmin/bin/htmlmin $(CURDIR)/build/tools.html -o $(CURDIR)/build/tools.html
+ $(NODE) node_modules/htmlmin/bin/htmlmin $(CURDIR)/build/upload_logged.html -o $(CURDIR)/build/upload_logged.html
+ $(NODE) node_modules/htmlmin/bin/htmlmin $(CURDIR)/build/upload_unlogged.html -o $(CURDIR)/build/upload_unlogged.html
+ $(NODE) node_modules/htmlmin/bin/htmlmin $(CURDIR)/build/404.html -o $(CURDIR)/build/404.html
installdirs:
mkdir -p $(DESTDIR)/ $(DESTDIR)/img