]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Rename annotate_ifdef_directives to end with .py.
authorNick Mathewson <nickm@torproject.org>
Thu, 26 Sep 2019 19:43:40 +0000 (15:43 -0400)
committerNick Mathewson <nickm@torproject.org>
Sat, 28 Sep 2019 01:04:22 +0000 (21:04 -0400)
This allows the python doctest module to process it correctly
when invoked as:
   python -m doctest -v annotate_ifdef_directives.py

Makefile.am
scripts/maint/annotate_ifdef_directives.py [moved from scripts/maint/annotate_ifdef_directives with 100% similarity]

index 491b4c8f9fbf073af194ee1d79a78a54c9504474..e52b1f742a5ed7b2a5d646779b8aaafbbd6468d4 100644 (file)
@@ -477,7 +477,7 @@ version:
 
 .PHONY: autostyle-ifdefs
 autostyle-ifdefs:
-       $(PYTHON) scripts/maint/annotate_ifdef_directives $(OWNED_TOR_C_FILES)
+       $(PYTHON) scripts/maint/annotate_ifdef_directives.py $(OWNED_TOR_C_FILES)
 
 .PHONY: autostyle-ifdefs
 autostyle-operators: