aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcgzones <cgzones@googlemail.com>2017-03-18 14:32:24 +0100
committerJason Zaman <jason@perfinion.com>2017-03-30 19:39:49 +0800
commit48889d70b8110434532e274e24222d0602cc8b03 (patch)
treefe6725dc11c8fab36be78622ba5080b6e6f597b3 /Makefile
parentModule version bump for fixes from cgzones. (diff)
downloadhardened-refpolicy-48889d70b8110434532e274e24222d0602cc8b03.tar.gz
hardened-refpolicy-48889d70b8110434532e274e24222d0602cc8b03.tar.bz2
hardened-refpolicy-48889d70b8110434532e274e24222d0602cc8b03.zip
travis: run make xml, html and install(-.*)? targets
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9c580a0b..4c768b55 100644
--- a/Makefile
+++ b/Makefile
@@ -560,7 +560,9 @@ install-docs: $(tmpdir)/html
#
install-src:
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
cp -R . $(srcpath)/policy