Changeset View
Changeset View
Standalone View
Standalone View
website/Makefile
Show All 12 Lines | |||||
# to attempting to use the `run` target. By default, hugo will start its | # to attempting to use the `run` target. By default, hugo will start its | ||||
# webserver on port 1313. | # webserver on port 1313. | ||||
MAINTAINER=carlavilla@FreeBSD.org | MAINTAINER=carlavilla@FreeBSD.org | ||||
# List of all languages we have content for | # List of all languages we have content for | ||||
ALL_LANGUAGES= de el en es fr hu it ja nl ru tr zh-cn zh-tw | ALL_LANGUAGES= de el en es fr hu it ja nl ru tr zh-cn zh-tw | ||||
.if ${OS} == "FreeBSD" | |||||
PYTHON_CMD = /usr/local/bin/python3 | PYTHON_CMD = /usr/local/bin/python3 | ||||
HUGO_CMD = /usr/local/bin/hugo | HUGO_CMD = /usr/local/bin/hugo | ||||
.elif ${OS} == "Darwin" | |||||
PYTHON_CMD = /usr/bin/python3 | |||||
HUGO_CMD = /usr/local/bin/hugo | |||||
.elif ${OS} == "Linux" | |||||
PYTHON_CMD = /usr/bin/python3 | |||||
HUGO_CMD = /usr/bin/hugo | |||||
.else | |||||
.error Unsupported Platform, stopping make | |||||
.endif | |||||
HUGO_ARGS?= --verbose | HUGO_ARGS?= --verbose | ||||
RUBYLIB = ../shared/lib | RUBYLIB = ../shared/lib | ||||
.export RUBYLIB | .export RUBYLIB | ||||
.ifndef HOSTNAME | .ifndef HOSTNAME | ||||
. ifdef BIND | . ifdef BIND | ||||
.HOST=$(BIND) | .HOST=$(BIND) | ||||
. else | . else | ||||
▲ Show 20 Lines • Show All 71 Lines • Show Last 20 Lines |