[mw-devel] [Git][arthur/mw][master] Replace 'cleanall' make target with 'clean'
Andrew Price
welshbyte at sucs.org
Wed Aug 30 10:52:06 BST 2017
Andrew Price pushed to branch master at Justin Mitchell / mw
Commits:
94ca510b by Andrew Price at 2017-08-30T10:48:02+01:00
Replace 'cleanall' make target with 'clean'
- - - - -
3 changed files:
- HACKING
- Makefile
- src/Makefile
Changes:
=====================================
HACKING
=====================================
--- a/HACKING
+++ b/HACKING
@@ -123,7 +123,7 @@ test' you will need to make sure your previously running mwserv process has
been killed before testing again.
To remove all of the built files in the src directory and below you can run
-'make cleanall' in the src directory. This will leave your mwtest directory in
+'make clean' in the src directory. This will leave your mwtest directory in
place. To remove that too, run 'make testclean'.
As a rule, the code that lives in the src directory is meant to be library code
=====================================
Makefile
=====================================
--- a/Makefile
+++ b/Makefile
@@ -60,7 +60,7 @@ endif
endif
clean:
- $(MAKE) -C src cleanall
+ $(MAKE) -C src $@
$(MAKE) -C duktape $@
$(MAKE) -C po $@
=====================================
src/Makefile
=====================================
--- a/src/Makefile
+++ b/src/Makefile
@@ -27,13 +27,11 @@ install: all
install -d $(DESTDIR)$(STATEDIR)
clean:
- -rm -f *.o *.d .*.d nonce-def.h mw mwserv libmw.a
-
-cleanall: clean
$(MAKE) -C client clean
$(MAKE) -C server clean
$(MAKE) -C webclient clean
$(MAKE) -C utils clean
+ -rm -f *.o *.d .*.d nonce-def.h mw mwserv libmw.a
ifndef TESTDIR
test testclean:
View it on GitLab: https://projects.sucs.org/arthur/mw/commit/94ca510ba593fe9e0e5054518c3aa5b3dc00a685
---
View it on GitLab: https://projects.sucs.org/arthur/mw/commit/94ca510ba593fe9e0e5054518c3aa5b3dc00a685
You're receiving this email because of your account on projects.sucs.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/mw-devel/attachments/20170830/95c2c329/attachment-0001.html>
More information about the mw-devel
mailing list