Skip to content

Commit

Permalink
Low: Build: Rename 'make scratch' to 'make dirty'
Browse files Browse the repository at this point in the history
  • Loading branch information
beekhof committed Jun 5, 2012
1 parent 05bbf35 commit 9d8b723
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ initialize:
echo "Now run configure with any arguments (eg. --prefix) specific to your system"

export:
rm -f $(PACKAGE)-scratch.tar.* $(PACKAGE)-tip.tar.* $(PACKAGE)-HEAD.tar.*
rm -f $(PACKAGE)-dirty.tar.* $(PACKAGE)-tip.tar.* $(PACKAGE)-HEAD.tar.*
if [ ! -f $(TARFILE) ]; then \
rm -f $(PACKAGE).tar.*; \
if [ $(TAG) = scratch ]; then \
if [ $(TAG) = dirty ]; then \
git commit -m "DO-NOT-PUSH" -a; \
git archive --prefix=$(distdir)/ HEAD | gzip > $(TARFILE); \
git reset --mixed HEAD^; \
Expand Down Expand Up @@ -146,8 +146,8 @@ rpm: srpm
@echo To create custom builds, edit the flags and options in $(PACKAGE).spec first
rpmbuild $(RPM_OPTS) $(WITH) --rebuild $(RPM_ROOT)/*.src.rpm

scratch:
make TAG=scratch mock
dirty:
make TAG=dirty mock

COVERITY_DIR = $(shell pwd)/coverity-$(TAG)
COVHOST ?= coverity.example.com
Expand Down

0 comments on commit 9d8b723

Please sign in to comment.