travis: run make xml, html and install(-.*)? targets
This commit is contained in:
parent
82b0a6d4d5
commit
3b3e6f75d3
|
@ -102,3 +102,12 @@ script:
|
||||||
- make conf
|
- make conf
|
||||||
- make
|
- make
|
||||||
- make validate
|
- make validate
|
||||||
|
|
||||||
|
after_success:
|
||||||
|
- make xml
|
||||||
|
- make html
|
||||||
|
- make DESTDIR=${HOME}/tmp install
|
||||||
|
- make DESTDIR=${HOME}/tmp install-headers
|
||||||
|
- make DESTDIR=${HOME}/tmp install-src
|
||||||
|
- make DESTDIR=${HOME}/tmp install-doc
|
||||||
|
- make DESTDIR=${HOME}/tmp install-appconfig
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -558,7 +558,9 @@ install-docs: $(tmpdir)/html
|
||||||
#
|
#
|
||||||
install-src:
|
install-src:
|
||||||
rm -rf $(srcpath)/policy.old
|
rm -rf $(srcpath)/policy.old
|
||||||
-mv $(srcpath)/policy $(srcpath)/policy.old
|
if test -d $(srcpath)/policy; then \
|
||||||
|
mv $(srcpath)/policy $(srcpath)/policy.old ;\
|
||||||
|
fi
|
||||||
mkdir -p $(srcpath)/policy
|
mkdir -p $(srcpath)/policy
|
||||||
cp -R . $(srcpath)/policy
|
cp -R . $(srcpath)/policy
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import selinux
|
try:
|
||||||
|
import selinux
|
||||||
|
|
||||||
if selinux.is_selinux_enabled():
|
if selinux.is_selinux_enabled():
|
||||||
print(selinux.security_policyvers())
|
print(selinux.security_policyvers())
|
||||||
|
except ImportError:
|
||||||
|
exit(0)
|
||||||
|
|
Loading…
Reference in New Issue