diff options
| author | Paul Bütow <pbuetow@mimecast.com> | 2019-01-04 11:20:31 +0000 |
|---|---|---|
| committer | Paul Bütow <pbuetow@mimecast.com> | 2020-01-22 20:17:04 +0000 |
| commit | ef0797de245a61e0f92788bc8ff14f84ca82d45e (patch) | |
| tree | 13f912c31540ae0b43258801d271de8830b08a3b /Makefile | |
| parent | 3205485b522083df47c1ebe6b301576fe12882f1 (diff) | |
Release of I/O Riot 0.5.10.5.1
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -18,7 +18,7 @@ astyle: loc: wc -l ./systemtap/src/*.stp ./ioriot/src/*.{h,c} ./ioriot/src/*/*.{h,c} | tail -n 1 doxygen: - doxygen ./docs/doxygen.conf + doxygen ./doc/doxygen.conf test: $(MAKE) -C ioriot test dockerbuild: @@ -31,4 +31,11 @@ dockerbuild: docker run -v $(PWD)/docker/opt:/opt -e 'KERNEL=$(KERNEL)' -it ioriot:$(KERNEL) make all test install dockerclean: bash -c 'test -d $(PWD)/docker && rm -Rfv $(PWD)/docker; exit 0' -jenkins: dockerbuild +jenkins: + bash -c 'test ! -d $(PWD)/docker/opt/ && mkdir -p $(PWD)/docker/opt/; exit 0' + bash -c 'test -f /etc/fedora-release && sudo chcon -Rt svirt_sandbox_file_t $(PWD)/docker/opt; exit 0' + bash -c 'test -f /etc/centos-release && sudo chcon -Rt svirt_sandbox_file_t $(PWD)/docker/opt; exit 0' + bash -c 'test -f /etc/redhat-release && sudo chcon -Rt svirt_sandbox_file_t $(PWD)/docker/opt; exit 0' + sed s/KERNEL/$(KERNEL)/ Dockerfile.in > Dockerfile + docker build . -t ioriot:latest + docker run -v $(PWD)/docker/opt:/opt -e 'KERNEL=$(KERNEL)' -it ioriot:latest make all test install |
