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.
This commit is contained in:
Jonathan Ben-Avraham 2020-11-16 11:19:44 +02:00
parent b37cec53fb
commit ef3a8ed970

View file

@ -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: