From ef3a8ed970ff937720cf60b8fb17fa67657c5900 Mon Sep 17 00:00:00 2001 From: Jonathan Ben-Avraham Date: Mon, 16 Nov 2020 11:19:44 +0200 Subject: [PATCH] Fixed broken *-util target 'cd' commands, comment Fixed broken *-util target 'cd' commands, and added a comment explaining the intended purpose of the 'mrproper' target. --- Makefile.in | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile.in b/Makefile.in index 00850ae5..c60585b6 100644 --- a/Makefile.in +++ b/Makefile.in @@ -111,13 +111,13 @@ util: cd $@; $(MAKE) $(MFLAGS) clean-util: - cd $@; $(MAKE) $(MFLAGS) clean + cd util; $(MAKE) $(MFLAGS) clean install-util: - cd $@; $(MAKE) $(MFLAGS) install + cd util; $(MAKE) $(MFLAGS) install uninstall-util: - cd $@; $(MAKE) $(MFLAGS) uninstall + cd util; $(MAKE) $(MFLAGS) uninstall clean-example: for i in example util; \ @@ -141,6 +141,9 @@ clean: for i in $(SUBDIRS) doc example util docker; \ do (cd $$i && $(MAKE) $(MFLAGS) $@); done; +# Uninstall and clean all the targets used for testing, but without cloning or +# checking-out from git. Provides a reliabily clean slate for testing changes +# before commit. mrproper: uninstall uninstall-example uninstall-util clean clean-example clean-util distclean: