summaryrefslogtreecommitdiff
path: root/tools/make-man-rules.py
Commit message (Collapse)AuthorAgeFilesLines
* meson: update hint in man/rules/Zbigniew Jędrzejewski-Szmek2019-07-191-0/+2
|
* tree-wide: drop header for emacs from python scriptsYu Watanabe2018-12-101-2/+1
|
* Drop my copyright headersZbigniew Jędrzejewski-Szmek2018-06-141-2/+0
| | | | | | | perl -i -0pe 's/\s*Copyright © .... Zbigniew Jędrzejewski.*?\n/\n/gms' man/*xml git grep -e 'Copyright.*Jędrzejewski' -l | xargs perl -i -0pe 's/(#\n)?# +Copyright © [0-9, -]+ Zbigniew Jędrzejewski.*?\n//gms' git grep -e 'Copyright.*Jędrzejewski' -l | xargs perl -i -0pe 's/\s*\/\*\*\*\s+Copyright © [0-9, -]+ Zbigniew Jędrzejewski[^\n]*?\s*\*\*\*\/\s*/\n\n/gms' git grep -e 'Copyright.*Jędrzejewski' -l | xargs perl -i -0pe 's/\s+Copyright © [0-9, -]+ Zbigniew Jędrzejewski[^\n]*//gms'
* tree-wide: beautify remaining copyright statementsLennart Poettering2018-06-141-1/+1
| | | | | | Let's unify an beautify our remaining copyright statements, with a unicode ©. This means our copyright statements are now always formatted the same way. Yay.
* tree-wide: drop 'This file is part of systemd' blurbLennart Poettering2018-06-141-2/+0
| | | | | | | | | | | | | | | | This part of the copyright blurb stems from the GPL use recommendations: https://www.gnu.org/licenses/gpl-howto.en.html The concept appears to originate in times where version control was per file, instead of per tree, and was a way to glue the files together. Ultimately, we nowadays don't live in that world anymore, and this information is entirely useless anyway, as people are very welcome to copy these files into any projects they like, and they shouldn't have to change bits that are part of our copyright header for that. hence, let's just get rid of this old cruft, and shorten our codebase a bit.
* tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek2018-04-061-13/+0
| | | | | | | | | | Files which are installed as-is (any .service and other unit files, .conf files, .policy files, etc), are left as is. My assumption is that SPDX identifiers are not yet that well known, so it's better to retain the extended header to avoid any doubt. I also kept any copyright lines. We can probably remove them, but it'd nice to obtain explicit acks from all involved authors before doing that.
* Add SPDX license headers to python scriptsZbigniew Jędrzejewski-Szmek2017-11-191-0/+1
|
* python: remove star importsZbigniew Jędrzejewski-Szmek2017-07-181-1/+1
| | | | | | Star imports are discouraged and break pyflakes. I'm happy to report that pyflakes finds no issues ;)
* build-sys: drop support for generation of Makefile-man.amZbigniew Jędrzejewski-Szmek2017-07-181-67/+4
|
* Mark python scripts executableZbigniew Jędrzejewski-Szmek2017-05-071-0/+0
| | | | | | | | | | Since all our python scripts have a proper python3 shebang, there is no benefit to letting meson autodetect them. On linux, meson will just uses exec(), so the shebang is used anyway. The only difference should be in how meson reports the script and that the detection won't fail for (most likely misconfigured) non-UTF8 locales. Closes #5855.
* more portable python shebangs (#5816)Jörg Thalheim2017-04-301-1/+1
| | | | | This is useful on systems like NixOS, where python3 is not in /usr/bin/python3 as well as for people using alternative ways to install python such as virtualenv/pyenv.
* make-man-rules: add support for generating the list in meson.build formatZbigniew Jędrzejewski-Szmek2017-04-231-6/+40
| | | | | v2: - sort the alias array too, otherwise the output is not stable
* Use python3 explicitly in all python scriptsFelipe Sateler2016-11-281-0/+1
|
* build-sys: use wildcard glob in update-man-list againZbigniew Jędrzejewski-Szmek2015-06-301-5/+7
| | | | | | | | | | The idea is that after adding a new man page, make update-man-list will be used to regenerate part of the makefile. So the data already present in the makefile cannot be used to do that. Also, renames filter out generated xml files in make-man-rules.py itself in order to make Makefile.am a bit simpler, and rename files to dist_files to better reflect new meaning.
* build-sys: fix indentation in make-man-rules generated outputFilipe Brandenburger2014-06-201-1/+1
| | | | | This fixes the footer where 7 spaces were used on the first line of EXTRA_DIST, but a Tab was clearly intended.
* build-sys: update intructions for Makefile-man.am regenerationZbigniew Jędrzejewski-Szmek2014-03-061-2/+10
|
* man: ignore non-manpage files when generating makefileZbigniew Jędrzejewski-Szmek2014-02-201-1/+7
|
* build-sys: move python helpers to tools directoryKarel Zak2014-02-101-0/+113
Note that make-man-rules.py is missing in EXTRA_DIST=, this patch fixes this mistake too.