From 860d09dc1cf3f08e8ef2caad5b11b19ae6b9fa61 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 23 Jan 2016 14:35:48 -0800 Subject: Improve clarity for makefile command. Signed-off-by: Robin H. Johnson --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0a339e36..207f7cfe 100644 --- a/Makefile +++ b/Makefile @@ -45,7 +45,11 @@ distclean: clean # Generic rules %/generated-config: %/arch-config $(BASE_KCONF) merge.pl Makefile - grep -sq THIS_CONFIG_IS_BROKEN $< && cat $< >$@ || grep -sq perl merge.pl $< $(BASE_KCONF) > $@ + if grep -sq THIS_CONFIG_IS_BROKEN $< ; then \ + cat $< >$@ ; \ + else \ + perl merge.pl $< $(BASE_KCONF) > $@ ; \ + fi ; %.8: doc/%.8.txt doc/asciidoc.conf Makefile genkernel a2x --conf-file=doc/asciidoc.conf --attribute="genkernelversion=$(PACKAGE_VERSION)" \ -- cgit v1.2.3