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