File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- man /* .5
2- man /* .8
3- man /* .html
4- bin /sysusers
5- bin /opensysusers
6- openrc /opensysusers.initd
1+ /man /* .1
2+ /man /* .5
3+ /man /* .8
4+ /man /* .html
5+ /bin /sysusers
6+ /bin /opensysusers
7+ /openrc /opensysusers.initd
Original file line number Diff line number Diff line change 2424 xsltproc $(xsltargs ) -o systemd-sysusers.html custom-html.xsl systemd-sysusers.xml
2525 xsltproc $(xsltargs ) -o sysusers.d.html custom-html.xsl sysusers.d.xml
2626
27+ # Delete files because wget can't overwrite them
28+ download-docs :
29+ rm -f * .xml * .xsl
30+ if command -v wget; then \
31+ download=' wget' ; \
32+ elif command -v curl; then \
33+ download=' curl --location --remote-name-all' ; \
34+ elif command -v fetch; then \
35+ download=' fetch' ; \
36+ fi ; \
37+ $$ download \
38+ ' https://github.com/systemd/systemd/raw/main/man/custom-html.xsl' \
39+ ' https://github.com/systemd/systemd/raw/main/man/custom-man.xsl' \
40+ ' https://github.com/systemd/systemd/raw/main/man/standard-options.xml' \
41+ ' https://github.com/systemd/systemd/raw/main/man/systemd-sysusers.xml' \
42+ ' https://github.com/systemd/systemd/raw/main/man/sysusers.d.xml'
43+
2744clean :
2845 rm -f $(manfiles5 )
2946 rm -f $(manfiles8 )
@@ -56,4 +73,4 @@ ifeq ($(HAVEDOC),yes)
5673uninstall : uninstall-doc
5774endif
5875
59- .PHONY : all install install-man install-doc clean
76+ .PHONY : all man doc download-docs clean install install-man install-doc uninstall-man uninstall-doc uninstall
You can’t perform that action at this time.
0 commit comments