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:
parent
b37cec53fb
commit
ef3a8ed970
1 changed files with 6 additions and 3 deletions
|
|
@ -111,13 +111,13 @@ util:
|
||||||
cd $@; $(MAKE) $(MFLAGS)
|
cd $@; $(MAKE) $(MFLAGS)
|
||||||
|
|
||||||
clean-util:
|
clean-util:
|
||||||
cd $@; $(MAKE) $(MFLAGS) clean
|
cd util; $(MAKE) $(MFLAGS) clean
|
||||||
|
|
||||||
install-util:
|
install-util:
|
||||||
cd $@; $(MAKE) $(MFLAGS) install
|
cd util; $(MAKE) $(MFLAGS) install
|
||||||
|
|
||||||
uninstall-util:
|
uninstall-util:
|
||||||
cd $@; $(MAKE) $(MFLAGS) uninstall
|
cd util; $(MAKE) $(MFLAGS) uninstall
|
||||||
|
|
||||||
clean-example:
|
clean-example:
|
||||||
for i in example util; \
|
for i in example util; \
|
||||||
|
|
@ -141,6 +141,9 @@ clean:
|
||||||
for i in $(SUBDIRS) doc example util docker; \
|
for i in $(SUBDIRS) doc example util docker; \
|
||||||
do (cd $$i && $(MAKE) $(MFLAGS) $@); done;
|
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
|
mrproper: uninstall uninstall-example uninstall-util clean clean-example clean-util
|
||||||
|
|
||||||
distclean:
|
distclean:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue