From: Mike Frysinger <vapier@gentoo.org>
To: linux-mmc@vger.kernel.org
Cc: cjb@laptop.org, Mike Frysinger <vapier@chromium.org>
Subject: [PATCH [mmc-utils] 1/2] fix make handling
Date: Thu, 12 Dec 2013 19:17:15 -0500 [thread overview]
Message-ID: <1386893836-16833-1-git-send-email-vapier@gentoo.org> (raw)
From: Mike Frysinger <vapier@chromium.org>
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@chromium.org>
---
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
next reply other threads:[~2013-12-13 0:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-13 0:17 Mike Frysinger [this message]
2013-12-13 0:17 ` [PATCH [mmc-utils] 2/2] start a README Mike Frysinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1386893836-16833-1-git-send-email-vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=cjb@laptop.org \
--cc=linux-mmc@vger.kernel.org \
--cc=vapier@chromium.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.