M7350/external/wpa_supplicant_8/wpa_supplicant/doc/docbook/Makefile

29 lines
615 B
Makefile
Raw Normal View History

2024-09-09 08:52:07 +00:00
all: man html pdf
FILES += wpa_background
FILES += wpa_cli
FILES += wpa_gui
FILES += wpa_passphrase
FILES += wpa_priv
FILES += wpa_supplicant.conf
FILES += wpa_supplicant
2024-09-09 08:57:42 +00:00
FILES += eapol_test
2024-09-09 08:52:07 +00:00
man:
for i in $(FILES); do docbook2man $$i.sgml; done
html:
for i in $(FILES); do docbook2html $$i.sgml && \
mv index.html $$i.html; done
pdf:
for i in $(FILES); do docbook2pdf $$i.sgml; done
clean:
2024-09-09 08:57:42 +00:00
rm -f wpa_background.8 wpa_cli.8 wpa_gui.8 wpa_passphrase.8 wpa_priv.8 wpa_supplicant.8 eapol_test.8
2024-09-09 08:52:07 +00:00
rm -f wpa_supplicant.conf.5
rm -f manpage.links manpage.refs
rm -f $(FILES:%=%.pdf)
rm -f $(FILES:%=%.html)