Change in osmo-gsm-tester[master]: Makefile: Implement clean target

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Thu May 7 11:55:00 UTC 2020


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18099 )


Change subject: Makefile: Implement clean target
......................................................................

Makefile: Implement clean target

Change-Id: Ia21b0f184bfd454b3835774949f581a27860a80a
---
M Makefile
M selftest/Makefile
2 files changed, 11 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/99/18099/1

diff --git a/Makefile b/Makefile
index ee6300e..c36aa9a 100644
--- a/Makefile
+++ b/Makefile
@@ -15,4 +15,10 @@
 	$(MAKE) -C selftest check
 	@echo "make check: success"
 
+clean:
+	$(MAKE) -C selftest clean
+	$(MAKE) -C doc/manuals clean
+	@find . -name "*__pycache__" -type d -print0 | xargs -0 rm -rvf
+	@rm -fv ./src/osmo_gsm_tester/_version.py
+	@rm -fv ./version
 # vim: noexpandtab tabstop=8 shiftwidth=8
diff --git a/selftest/Makefile b/selftest/Makefile
index f0c8c69..fb8618c 100644
--- a/selftest/Makefile
+++ b/selftest/Makefile
@@ -9,4 +9,9 @@
 set_pythonpath:
 	echo "export PYTHONPATH=\"$(PWD)/../src\"" > set_pythonpath
 
+clean:
+	@find . -name "*__pycache__" -type d -print0 | xargs -0 rm -rvf
+	@find . -name "*test_work" -type d -print0 | xargs -0 rm -rvf
+	@rm -fv ./set_pythonpath
+
 # vim: noexpandtab tabstop=8 shiftwidth=8

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18099
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: Ia21b0f184bfd454b3835774949f581a27860a80a
Gerrit-Change-Number: 18099
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200507/2891819f/attachment.htm>


More information about the gerrit-log mailing list