From: Mike Frysinger <vapier@xxxxxxxxxxxx> Fix the recurisve make targets by using $(MAKE). Otherwise we get lots of warnings and issues with parallel builds. Fix the install target -- the man subdir was missing a dummy target. Add proper .PHONY markings. Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxxxx> --- Makefile | 8 +++++--- man/Makefile | 3 +++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index ae846e2..91cfc35 100644 --- a/Makefile +++ b/Makefile @@ -34,15 +34,17 @@ mmc: $(objects) $(CC) $(CFLAGS) -o $@ $(objects) $(LDFLAGS) $(LIBS) manpages: - cd man && make + $(MAKE) -C man install-man: - cd man && make install + $(MAKE) -C man install clean: rm -f $(progs) $(objects) - cd man && make clean + $(MAKE) -C man clean install: $(progs) install-man $(INSTALL) -m755 -d $(DESTDIR)$(bindir) $(INSTALL) $(progs) $(DESTDIR)$(bindir) + +.PHONY: all clean install manpages install-man diff --git a/man/Makefile b/man/Makefile index c8957f6..da79a50 100644 --- a/man/Makefile +++ b/man/Makefile @@ -1,2 +1,5 @@ all: clean: +install: + +.PHONY: all clean install -- 1.8.4.3 -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html