aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-03-03 21:59:10 -0800
committerH. Peter Anvin <hpa@zytor.com>2008-03-03 21:59:10 -0800
commit1c8034162365c8de51f2ca5e507d87b1dd9e40e8 (patch)
tree3c78cb334277113fb50bb397fc98a71d53d9a040
parent8022f4bec76f24cf73ebb6a3e97a3fe254989912 (diff)
downloadsyslinux-elf-1c8034162365c8de51f2ca5e507d87b1dd9e40e8.tar.gz
syslinux-elf-1c8034162365c8de51f2ca5e507d87b1dd9e40e8.tar.xz
syslinux-elf-1c8034162365c8de51f2ca5e507d87b1dd9e40e8.zip
Add stuff to "make dist" to clean up crap that shouldn't be there
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9fddb8a9..49bb5ecc 100644
--- a/Makefile
+++ b/Makefile
@@ -232,9 +232,9 @@ clean: local-tidy local-clean
set -e ; for i in $(BESUBDIRS) $(IESUBDIRS) $(BSUBDIRS) $(ISUBDIRS) ; do $(MAKE) -C $$i $@ ; done
dist: tidy
- for dir in . sample memdisk ; do \
- ( cd $$dir && rm -f *~ \#* core ) ; \
- done
+ find . \( -name '*~' -o -name '#*' -o -name core \
+ -o -name '.*.d' -o -name .depend \) -type f -print0 \
+ | xargs -0rt rm -f
local-spotless:
rm -f $(BTARGET) .depend *.so.*