Skip to content
This repository has been archived by the owner on Jul 6, 2020. It is now read-only.

Commit

Permalink
Update Makefile to make clean out of the box.
Browse files Browse the repository at this point in the history
  • Loading branch information
nyergler committed Nov 25, 2015
1 parent 84e5c7c commit 1a15d7e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ help:
@echo " doctest to run all doctests embedded in the documentation (if enabled)"

clean:
-rm -rf $(BUILDDIR)/*
git --git-dir=$(BUILDDIR)/.git co $(BUILDBRANCH)
rm -rf $(BUILDDIR)/*
git --git-dir=$(BUILDDIR)/.git reset --hard $(BUILDBRANCH)
git --git-dir=$(BUILDDIR)/.git checkout $(BUILDBRANCH)

Expand Down

0 comments on commit 1a15d7e

Please sign in to comment.