[kupfer: 3/6] wscript: Clean all .pyc files on distclean
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [kupfer: 3/6] wscript: Clean all .pyc files on distclean
- Date: Sun, 26 Feb 2012 17:55:39 +0000 (UTC)
commit 37b0c107c0578e2626d941d5a9f65dc13f6c07e3
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Sat Feb 25 21:58:05 2012 +0100
wscript: Clean all .pyc files on distclean
wscript | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/wscript b/wscript
index 4991e4a..f44237f 100644
--- a/wscript
+++ b/wscript
@@ -281,6 +281,9 @@ def build(bld):
# Separate subdirectories
bld.add_subdirs(build_subdirs)
+def distclean(bld):
+ bld.exec_command("find ./ -name '*.pyc' -delete")
+
def intlupdate(util):
print("You should use intltool-update directly.")
print("You can read about this in Documentation/Manual.rst")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]