bin/Makefile: Fix clean target

This commit is contained in:
Jan Lindemann 2006-02-25 20:20:29 +00:00 committed by Jan Lindemann
commit 129cb550e4

View file

@ -31,13 +31,14 @@
MODDIR = .. MODDIR = ..
CLEAN += $(wildcard *.sh)
include $(MODDIR)/make/ytools.mk include $(MODDIR)/make/ytools.mk
include $(MODDIR)/make/scripts.mk include $(MODDIR)/make/scripts.mk
all: all:
clean: clean.file
install: $(INSTALL_BINDIR) $(INSTALLED_EXE_SH) install: $(INSTALL_BINDIR) $(INSTALLED_EXE_SH)
profclean: profclean:
clean.file:
file -i * | sed '/x-executable\|x-shellscript/ !d; s/:.*//' | xargs -r rm -f