Makefile 615 B

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