File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ JAIL_NET?=16
5
5
MYPYPATH = $(shell pwd) /.travis/mypy-stubs
6
6
7
7
deps :
8
- which pkg && pkg install -q -y libucl py36-cython rsync python36 py36-libzfs py36-sysctl || true
8
+ if [ " ` uname ` " = " FreeBSD " ] ; then pkg install -q -y libucl py36-cython rsync python36 py36-libzfs py36-sysctl; fi
9
9
python3.6 -m ensurepip
10
10
python3.6 -m pip install -Ur requirements.txt
11
11
install : deps
@@ -16,7 +16,7 @@ install: deps
16
16
install -m 0755 rc.d/ioc /usr/local/etc/rc.d; \
17
17
fi
18
18
install-dev : deps
19
- pkg install -y gmake
19
+ if [ " ` uname ` " = " FreeBSD " ] ; then pkg install -y gmake; fi
20
20
python3.6 -m pip install -Ur requirements-dev.txt
21
21
python3.6 -m pip install -e .
22
22
@if [ -f /usr/local/etc/init.d ]; then \
@@ -39,7 +39,7 @@ regression-test:
39
39
.PHONY : docs
40
40
docs :
41
41
sphinx-apidoc -o docs --separate -H libiocage -A " iocage Authors" --full iocage iocage/cli iocage/tests
42
- gmake -C docs html
42
+ if [ " ` uname ` " = " FreeBSD " ] ; then gmake -C docs html; else make -C docs html ; fi
43
43
44
44
help :
45
45
@echo " install"
You can’t perform that action at this time.
0 commit comments