Skip to contentSkip to conversation

Makefile: fixup previous 'make clean' fix

PATCH Applied Brian Norris 3 participants 3 messages Mar 28, 2012 – Apr 2, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Makefile: fixup previous 'make clean' fix

Apparently, Makefile comments need to be made without indentation. Otherwise, they are printed out as shell commands. This fix prevents seeing this in your shell during 'make clean':

  $ make clean
  ...
  # findutils v4.1.x (RHEL 4) do not have '+' syntax
  ...

---

Artem, can you please just merge this into my last Makefile fix?

 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Makefile +1 -1
index 7506ed4..40cb676 100644
@@ -52,7 +52,7 @@ ifneq ($(BUILDDIR),$(CURDIR))
 endif
 endif
 endif
-	# findutils v4.1.x (RHEL 4) do not have '+' syntax
+# findutils v4.1.x (RHEL 4) do not have '+' syntax
 	@if test -d "$(BUILDDIR)/"; then \
 		$(CLEAN_FIND) -exec rm -f {} + 2> /dev/null || \
 		$(CLEAN_FIND) -exec rm -f {} \; ; \
Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Brian Norris

Apparently, Makefile comments need to be made without indentation. Otherwise, they are printed out as shell commands. This fix prevents seeing this in your shell during 'make clean':

-mike

#2 lore raw
In reply to Brian Norris
Quoted 3 lines · Brian Norris

Apparently, Makefile comments need to be made without indentation. Otherwise, they are printed out as shell commands. This fix prevents seeing this in your shell during 'make clean':

Pushed to mtd-utils.git, thanks!

Signature · 2 lines
Best Regards,
Artem Bityutskiy