Skip to content

Commit

Permalink
Make make clean_tests also remove the config
Browse files Browse the repository at this point in the history
This commit also makes sure that the release script works with the
changes.
  • Loading branch information
Gavin Howard committed Jan 8, 2019
1 parent df68c75 commit 68f4a4e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,11 @@ clean:
@$(RM) -f $(DC_HELP_C) $(DC_HELP_O)
@$(RM) -f $(DC_HELP_GCDA) $(DC_HELP_GCNO)

clean_tests: clean
clean_config: clean
@printf 'Cleaning config...\n'
@$(RM) -f Makefile

clean_tests: clean clean_config
@printf 'Cleaning test files...\n'
@$(RM) -f tests/bc/parse.txt tests/bc/parse_results.txt
@$(RM) -f tests/bc/print.txt tests/bc/print_results.txt
Expand All @@ -244,10 +248,6 @@ clean_tests: clean
@$(RM) -f .math.txt .results.txt .ops.txt
@$(RM) -f .test.txt

clean_config: clean
@printf 'Cleaning config...\n'
@$(RM) -f Makefile

install:
$(INSTALL) $(DESTDIR)$(PREFIX)/$(BIN) $(BIN)

Expand Down
4 changes: 2 additions & 2 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -320,10 +320,10 @@ cd "$scriptdir"

configure "$debug" "clang" ""

make clean_tests

version=$(make version)

make clean_tests

debug "clang" "$run_tests"
release "clang" "$run_tests"
reldebug "clang" "$run_tests"
Expand Down

0 comments on commit 68f4a4e

Please sign in to comment.