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
55MYPYPATH = $(shell pwd) /.travis/mypy-stubs
66
77deps :
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
99 python3.6 -m ensurepip
1010 python3.6 -m pip install -Ur requirements.txt
1111install : deps
@@ -16,7 +16,7 @@ install: deps
1616 install -m 0755 rc.d/ioc /usr/local/etc/rc.d; \
1717 fi
1818install-dev : deps
19- pkg install -y gmake
19+ if [ " ` uname ` " = " FreeBSD " ] ; then pkg install -y gmake; fi
2020 python3.6 -m pip install -Ur requirements-dev.txt
2121 python3.6 -m pip install -e .
2222 @if [ -f /usr/local/etc/init.d ]; then \
@@ -39,7 +39,7 @@ regression-test:
3939.PHONY : docs
4040docs :
4141 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
4343
4444help :
4545 @echo " install"
You can’t perform that action at this time.
0 commit comments