1 all: man html pdf 2 3 FILES += wpa_background 4 FILES += wpa_cli 5 FILES += wpa_gui 6 FILES += wpa_passphrase 7 FILES += wpa_priv 8 FILES += wpa_supplicant.conf 9 FILES += wpa_supplicant 10 11 man: 12 for i in $(FILES); do docbook2man $$i.sgml; done 13 14 html: 15 for i in $(FILES); do docbook2html $$i.sgml && \ 16 mv index.html $$i.html; done 17 18 pdf: 19 for i in $(FILES); do docbook2pdf $$i.sgml; done 20 21 22 clean: 23 rm -f wpa_background.8 wpa_cli.8 wpa_gui.8 wpa_passphrase.8 wpa_priv.8 wpa_supplicant.8 24 rm -f wpa_supplicant.conf.5 25 rm -f manpage.links manpage.refs 26 rm -f $(FILES:%=%.pdf) 27 rm -f $(FILES:%=%.html) 28