Makefile 432 B

123456789101112131415161718192021
  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.txt faq.html $(DOCINSTALLDIR)
  15. faq.txt: faq.html
  16. lynx -dump faq.html > faq.txt