summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Austad <haustad@cisco.com>2015-09-21 17:27:25 +0200
committerJohn Kacur <jkacur@redhat.com>2015-09-21 21:40:27 +0200
commit6750957ad473bdcdde4e59d1d0851acf8019a90f (patch)
treef1b3ae509c43ccbc88f56cb83d02f1c888205ee7
parent58dbaa379403b03bd3c9b5993cfd1efd75ec07c7 (diff)
downloadrt-tests-6750957ad473bdcdde4e59d1d0851acf8019a90f.tar.gz
Add a rebuild-switch to Makefile
Update from joshc for job-level safety Co-authored.by: Josh Cartwright <joshc@ni.com> Signed-off-by: Henrik Austad <haustad@cisco.com> Signed-off-by: John Kacur <jkacur@redhat.com>
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f630076..fcf20ce 100644
--- a/Makefile
+++ b/Makefile
@@ -129,6 +129,11 @@ RPMDIRS = BUILD BUILDROOT RPMS SRPMS SPECS
distclean: clean
rm -rf $(RPMDIRS) releases *.tar.gz rt-tests.spec tmp
+.PHONY: rebuild
+rebuild:
+ $(MAKE) clean
+ $(MAKE) all
+
.PHONY: changelog
changelog:
git log >ChangeLog