Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/runningstream/hugograyscale.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..757f6f0
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,13 @@
+CONFIG_GH_PAGES := exampleSite/config_for_github_pages.toml
+CONFIG := exampleSite/config.toml
+CONTENT := exampleSite/content
+THEMES := ../
+OUTPUT := docs
+
+docs:
+ hugo --config ${CONFIG_GH_PAGES} -c ${CONTENT} --themesDir ${THEMES} -d ${OUTPUT}
+
+server:
+ hugo --config ${CONFIG} -c ${CONTENT} --themesDir ${THEMES} server
+
+.PHONY: docs