forked from FreeRADIUS/www.freeradius.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
30 lines (26 loc) · 743 Bytes
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#
# For this to work, you will need to do:
#
# gem install jekyll twitter httparty
#
#
# Build the static site. The main web server publishes the _site
# directory, and not the jekyll source.
#
all: _wwwdata/twitter.json
@$(MAKE) -C radiusd/man
@TZ=GMT jekyll build
@rm -r _site/api/info/srv
@api/info/build/git-to-json.pl /srv/freeradius-server _site/api/info/srv
.PHONY: _wwwdata/twitter.json
_wwwdata/twitter.json:
@[ -e $@ ] || git submodule init && git submodule update
#
# Serve it from a local host. This should not be the default.
#
serve:
jekyll serve & browser-sync start --config bs-config.js
publish:
surge _site
hotel:
jekyll serve --port $PORT & browser-sync start --config bs-config.js --proxy free-radius.dev