Home | History | Annotate | Download | only in docbook
      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 FILES += eapol_test
     11 
     12 man:
     13 	for i in $(FILES); do docbook2man $$i.sgml; done
     14 
     15 html:
     16 	for i in $(FILES); do docbook2html $$i.sgml && \
     17 		mv index.html $$i.html; done
     18 
     19 pdf:
     20 	for i in $(FILES); do docbook2pdf $$i.sgml; done
     21 
     22 
     23 clean:
     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