From patchwork Fri Dec 13 00:17:15 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Frysinger X-Patchwork-Id: 3335261 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 7D93EC0D4B for ; Fri, 13 Dec 2013 00:17:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 93C45207E4 for ; Fri, 13 Dec 2013 00:17:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E52CE207DD for ; Fri, 13 Dec 2013 00:17:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751761Ab3LMARS (ORCPT ); Thu, 12 Dec 2013 19:17:18 -0500 Received: from smtp.gentoo.org ([140.211.166.183]:38628 "EHLO smtp.gentoo.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751717Ab3LMARR (ORCPT ); Thu, 12 Dec 2013 19:17:17 -0500 Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 1D61D33F219; Fri, 13 Dec 2013 00:17:17 +0000 (UTC) From: Mike Frysinger To: linux-mmc@vger.kernel.org Cc: cjb@laptop.org, Mike Frysinger Subject: [PATCH [mmc-utils] 1/2] fix make handling Date: Thu, 12 Dec 2013 19:17:15 -0500 Message-Id: <1386893836-16833-1-git-send-email-vapier@gentoo.org> X-Mailer: git-send-email 1.8.4.3 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Mike Frysinger 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 --- 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