Clean up generated test files and other minor housekeeping.

This commit is contained in:
Todd C. Miller
2013-02-28 09:49:09 -05:00
parent fa93dede39
commit 3e68433839
4 changed files with 12 additions and 7 deletions

View File

@@ -318,8 +318,9 @@ check: $(TEST_PROGS) visudo testsudoers
./check_symbols .libs/sudoers$(soext) $(shlib_exp); \
rval=`expr $$rval + $$?`; \
fi; \
./check_wrap $(srcdir)/regress/logging/check_wrap.in > check_wrap.out; \
diff check_wrap.out $(srcdir)/regress/logging/check_wrap.out.ok; \
mkdir -p regress/logging; \
./check_wrap $(srcdir)/regress/logging/check_wrap.in > regress/logging/check_wrap.out; \
diff regress/logging/check_wrap.out $(srcdir)/regress/logging/check_wrap.out.ok; \
rval=`expr $$rval + $$?`; \
passed=0; failed=0; total=0; \
mkdir -p regress/sudoers; \
@@ -389,7 +390,9 @@ check: $(TEST_PROGS) visudo testsudoers
fi
clean:
-$(LIBTOOL) --mode=clean rm -f $(PROGS) $(TEST_PROGS) *.lo *.o *.la *.a stamp-* core *.core core.* *.out *.toke *.err *.inc
-$(LIBTOOL) --mode=clean rm -f $(PROGS) $(TEST_PROGS) *.lo *.o *.la \
*.a stamp-* core *.core core.* regress/*/*.out regress/*/*.toke \
regress/*/*.err
mostlyclean: clean