summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 9a7b7ad35..120c02adb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -82,6 +82,7 @@ var-%:
EXTRA_DIST =
BUILT_SOURCES =
CLEANFILES =
+DISTCLEANFILES =
examplesdir = $(exampledir)
@@ -216,6 +217,12 @@ EXTRA_DIST += \
noinst_HEADERS += defaults.h
+clean-local: clean-python
+.PHONY: clean-python
+clean-python:
+ find -name __pycache__ -o -name .pytest_cache | xargs rm -rf
+ find -name "*.pyc" -o -name "*_clippy.c" | xargs rm -f
+
indent:
tools/indent.py `find sharpd bgpd eigrpd include isisd lib nhrpd ospf6d ospfd pimd qpb ripd vtysh zebra -name '*.[ch]' | grep -v include/linux`