summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-06-15 12:42:46 +0200
committeremkael <emkael@tlen.pl>2017-06-15 12:42:46 +0200
commitaac9547683cddb963ceb6d72d8b03e456970b21e (patch)
treea3f9248cf454b9d259358e184a3ca9ac74e2fa03
parentc69af3bfdd8e65ff7badbd28178cb834e900eda5 (diff)
Depending on the Python module instead of the standalone executable for HTML pages minimization
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ab8df76..d86fb89 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ tmpfiles := $(patsubst %.html,%.html.tmp,$(wildcard http/*.html))
rankfiles := $(patsubst %.html,%.html.ed,$(wildcard http/*.html))
$(tmpfiles):
- htmlmin $(patsubst %.tmp,%,$@) $@
+ python -m htmlmin.command $(patsubst %.tmp,%,$@) $@
mv $@ $(patsubst %.tmp,%,$@)
$(rankfiles):