diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-09-26 15:43:40 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-09-27 21:04:22 -0400 |
commit | f1e0665c934db49cc86936a17a3a1247db9e3337 (patch) | |
tree | 51debdff16c570ff6833650466a0314719f1be05 | |
parent | d229399e77f17a8ad19a793fcc7252027c0d3758 (diff) | |
download | tor-f1e0665c934db49cc86936a17a3a1247db9e3337.tar.gz tor-f1e0665c934db49cc86936a17a3a1247db9e3337.zip |
Rename annotate_ifdef_directives to end with .py.
This allows the python doctest module to process it correctly
when invoked as:
python -m doctest -v annotate_ifdef_directives.py
-rw-r--r-- | Makefile.am | 2 | ||||
-rwxr-xr-x | scripts/maint/annotate_ifdef_directives.py (renamed from scripts/maint/annotate_ifdef_directives) | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 491b4c8f9f..e52b1f742a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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: diff --git a/scripts/maint/annotate_ifdef_directives b/scripts/maint/annotate_ifdef_directives.py index 6ff9b8ec4c..6ff9b8ec4c 100755 --- a/scripts/maint/annotate_ifdef_directives +++ b/scripts/maint/annotate_ifdef_directives.py |