Skip to content

Commit

Permalink
Remove old build artifacts before building
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Nolte committed Aug 8, 2011
1 parent 722c828 commit 3831384
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions pkg/arch/Makefile
Expand Up @@ -2,9 +2,13 @@
# prior to committing changes to git.

local:
-rm -rf ../../build
-rm butter-local*.tar.xz
makepkg -f -p PKGBUILD-local --asroot
-rm -rf ../../build pkg butter-*.pkg.tar.xz
if [ "$$(id -u)" -eq 0 ]; \
then \
makepkg -f -p PKGBUILD-local --asroot; \
else \
makepkg -f -p PKGBUILD-local; \
fi
-rm -rf pkg ../../build

install: local
Expand Down

0 comments on commit 3831384

Please sign in to comment.