Clean up generated test files and other minor housekeeping.
This commit is contained in:
@@ -49,6 +49,8 @@ shlib_mode = @SHLIB_MODE@
|
|||||||
SUBDIRS = compat common @ZLIB_SRC@ plugins/group_file plugins/sudoers \
|
SUBDIRS = compat common @ZLIB_SRC@ plugins/group_file plugins/sudoers \
|
||||||
plugins/system_group src include doc
|
plugins/system_group src include doc
|
||||||
|
|
||||||
|
SAMPLES = plugins/sample
|
||||||
|
|
||||||
VERSION = @PACKAGE_VERSION@
|
VERSION = @PACKAGE_VERSION@
|
||||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||||
|
|
||||||
@@ -287,14 +289,14 @@ package: sudo.pp
|
|||||||
version=$(VERSION) $(PPVARS)
|
version=$(VERSION) $(PPVARS)
|
||||||
|
|
||||||
clean: config.status
|
clean: config.status
|
||||||
for d in $(SUBDIRS); do \
|
for d in $(SUBDIRS) $(SAMPLES); do \
|
||||||
(cd $$d && exec $(MAKE) $@); \
|
(cd $$d && exec $(MAKE) $@); \
|
||||||
done
|
done
|
||||||
|
|
||||||
mostlyclean: clean
|
mostlyclean: clean
|
||||||
|
|
||||||
distclean: config.status
|
distclean: config.status
|
||||||
for d in $(SUBDIRS); do \
|
for d in $(SUBDIRS) $(SAMPLES); do \
|
||||||
(cd $$d && exec $(MAKE) $@); \
|
(cd $$d && exec $(MAKE) $@); \
|
||||||
done
|
done
|
||||||
-rm -rf Makefile pathnames.h config.h config.status config.cache \
|
-rm -rf Makefile pathnames.h config.h config.status config.cache \
|
||||||
|
@@ -138,7 +138,7 @@ check: $(TEST_PROGS)
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-$(LIBTOOL) --mode=clean rm -f *.lo *.o *.la *.a stamp-* core *.core core.*
|
-$(LIBTOOL) --mode=clean rm -f $(TEST_PROGS) *.lo *.o *.la *.a stamp-* core *.core core.* regress/*/*.out
|
||||||
|
|
||||||
mostlyclean: clean
|
mostlyclean: clean
|
||||||
|
|
||||||
|
@@ -361,7 +361,7 @@ clean:
|
|||||||
mostlyclean: clean
|
mostlyclean: clean
|
||||||
|
|
||||||
distclean: clean
|
distclean: clean
|
||||||
-rm -rf Makefile config.log *.man
|
-rm -rf Makefile config.log *.man *.mdoc
|
||||||
|
|
||||||
clobber: distclean
|
clobber: distclean
|
||||||
|
|
||||||
|
@@ -318,8 +318,9 @@ check: $(TEST_PROGS) visudo testsudoers
|
|||||||
./check_symbols .libs/sudoers$(soext) $(shlib_exp); \
|
./check_symbols .libs/sudoers$(soext) $(shlib_exp); \
|
||||||
rval=`expr $$rval + $$?`; \
|
rval=`expr $$rval + $$?`; \
|
||||||
fi; \
|
fi; \
|
||||||
./check_wrap $(srcdir)/regress/logging/check_wrap.in > check_wrap.out; \
|
mkdir -p regress/logging; \
|
||||||
diff check_wrap.out $(srcdir)/regress/logging/check_wrap.out.ok; \
|
./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 + $$?`; \
|
rval=`expr $$rval + $$?`; \
|
||||||
passed=0; failed=0; total=0; \
|
passed=0; failed=0; total=0; \
|
||||||
mkdir -p regress/sudoers; \
|
mkdir -p regress/sudoers; \
|
||||||
@@ -389,7 +390,9 @@ check: $(TEST_PROGS) visudo testsudoers
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
clean:
|
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
|
mostlyclean: clean
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user