On Fri, Sep 18, 2015 at 06:52:46PM +0200, Henrik Austad wrote: > Signed-off-by: Henrik Austad <haustad@xxxxxxxxx> > --- > Makefile | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Makefile b/Makefile > index d4988c5..160547c 100644 > --- a/Makefile > +++ b/Makefile > @@ -129,6 +129,9 @@ RPMDIRS = BUILD BUILDROOT RPMS SRPMS SPECS > distclean: clean > rm -rf $(RPMDIRS) releases *.tar.gz rt-tests.spec tmp > > +.PHONY: rebuild > +rebuild: clean all Does this actually work? Make is free to execute 'clean' and 'all' at the same time, with ... interesting side effects. If you really want this (and I'm not sure you do): .PHONY: rebuild rebuild: $(MAKE) clean $(MAKE) Josh
Attachment:
signature.asc
Description: PGP signature