Makefile 461 B

12345678910111213141516171819202122
  1. ##################################
  2. # Man page installation for linux
  3. #
  4. ifndef PREFIXINSTALLDIR
  5. PREFIXINSTALLDIR=/usr
  6. endif
  7. ifndef DOCINSTALLDIR
  8. DOCINSTALLDIR:=$(PREFIXINSTALLDIR)/doc/fpc-$(shell ppc386 -iV)
  9. endif
  10. installdoc:
  11. install -d -m 755 $(DOCINSTALLDIR)
  12. cp readme.txt $(DOCINSTALLDIR)/README
  13. cp whatsnew.txt $(DOCINSTALLDIR)/NEWS
  14. cp faq.htm $(DOCINSTALLDIR)/faq.html
  15. cp faq.txt $(DOCINSTALLDIR)
  16. faq.txt: faq.html
  17. lynx -dump faq.html > faq.txt