Skip to content

Commit

Permalink
a bit more cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
cooljeanius committed Nov 26, 2024
1 parent c6a10e4 commit 59f76ef
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ bootstrap-stamp
*.elc
confdefs.h
conftest*
conf*/out
clang_static_analysis/*.plist
tmpwrk*/gettext-*.*.*/*
# syntax check artifacts:
Expand Down
18 changes: 17 additions & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -1462,12 +1462,28 @@ clean-local:
distclean-local: clean-local
rm -rf autom4te.cache || rmdir autom4te.cache
if test -e ldd.sh; then rm -f ldd.sh; fi
if test -w . && test -r autoscan.log; then \
if test -x "$(which rmtrash)"; then \
rmtrash autoscan.log; \
if test -r configure~; then \
rmtrash configure~; \
fi; \
elif test -w ~/.Trash; then \
mv autoscan.log ~/.Trash; \
if test -r configure~; then \
mv configure~ ~/.Trash; \
fi; \
fi; \
else \
echo "no further local distcleaning to do"; \
fi
.PHONY: distclean-local

maintainer-clean-local: distclean-local
rm -f configure*.scan autoscan.log
rm -f configure*.scan autoscan.log conftest.*
.PHONY: maintainer-clean-local

extraclean-local: maintainer-clean-local
-find . -name .DS_Store -delete 2>/dev/null
-find . -name '*.cache' -delete 2>/dev/null
.PHONY: extraclean-local

0 comments on commit 59f76ef

Please sign in to comment.