From ef6b49815bb19575e07bddb21a7a69353f2205d1 Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Wed, 26 Nov 2008 22:48:26 +0000 Subject: Bug fix: $@ should not be used in rules with multiple targets targets (causes confusion). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19239 a1c6a512-1295-4272-9138-f99709370657 --- apps/apps.make | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps') diff --git a/apps/apps.make b/apps/apps.make index 9a9429fef5..4df3e12d04 100644 --- a/apps/apps.make +++ b/apps/apps.make @@ -16,10 +16,10 @@ SRC += $(call preprocess, $(APPSDIR)/SOURCES) # button.h is included for the HAS_BUTTON_HOLD define. # features $(BUILDDIR)/apps/features $(BUILDDIR)/apps/genlang-features: $(APPSDIR)/features.txt - $(SILENT)mkdir -p $(dir $@) + $(SILENT)mkdir -p $(BUILDDIR)/apps $(call PRINTS,PP $( $@; \ - for f in `cat $@`; do feat="$$feat:$$f" ; done ; \ + grep -v "^\#" | grep -v "^$$" > $(BUILDDIR)/apps/features; \ + for f in `cat $(BUILDDIR)/apps/features`; do feat="$$feat:$$f" ; done ; \ echo "$$feat" >$(BUILDDIR)/apps/genlang-features -- cgit v1.2.3