Makefile.am 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #
  2. SUBDIRS = styles inc images
  3. CONV = "$(srcdir)/html.py"
  4. FTR_PAGES = csd.html charset.html token.html pkcs11.html tpm.html features.html gui.html nonroot.html hip.html tncc.html
  5. START_PAGES = building.html connecting.html manual.html vpnc-script.html
  6. INDEX_PAGES = changelog.html download.html index.html packages.html platforms.html licence.html
  7. PROTO_PAGES = protocols.html anyconnect.html array.html fortinet.html f5.html globalprotect.html juniper.html pulse.html
  8. CONTR_PAGES = contribute.html mitm.html
  9. TOPLEVEL_PAGES = mail.html
  10. ALL_PAGES = $(FTR_PAGES) $(START_PAGES) $(INDEX_PAGES) $(TOPLEVEL_PAGES) $(PROTO_PAGES) $(CONTR_PAGES)
  11. html_DATA = $(ALL_PAGES)
  12. .xml.html:
  13. $(PYTHON) $(CONV) -d $(srcdir) $< > $@ || (rm $@; exit 1)
  14. clean-local:
  15. rm -f $(ALL_PAGES) openconnect.8.inc
  16. $(ALL_PAGES): menu1.xml $(srcdir)/inc/*.tmpl
  17. $(FTR_PAGES): menu2-features.xml
  18. $(START_PAGES): menu2-started.xml
  19. $(PROTO_PAGES): menu2-protocols.xml
  20. $(CONTR_PAGES): menu2-contribute.xml
  21. $(MAIN_PAGES): menu2.xml
  22. manual.html: openconnect.8.inc
  23. $(top_builddir)/openconnect.8: $(top_srcdir)/openconnect.8.in $(top_builddir)/config.status
  24. cd $(top_builddir) && $(SHELL) ./config.status openconnect.8
  25. # If this command line ever changes significantly, so should the
  26. # corresponding autoconf check.
  27. openconnect.8.inc: $(top_builddir)/openconnect.8
  28. $(GROFF) -t -K UTF-8 -mandoc -Txhtml $? | \
  29. sed -e 's/&minus;/-/g' -e '1,/<body>/d' -e '/<\/body>/,$$d' > $@
  30. EXTRA_DIST = $(patsubst %.html,%.xml,$(ALL_PAGES)) $(srcdir)/menu1.xml $(srcdir)/menu2*.xml $(srcdir)/html.py