mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-16 03:30:34 +01:00
23 lines
461 B
Makefile
23 lines
461 B
Makefile
##################################
|
|
# Man page installation for linux
|
|
#
|
|
|
|
ifndef PREFIXINSTALLDIR
|
|
PREFIXINSTALLDIR=/usr
|
|
endif
|
|
|
|
ifndef DOCINSTALLDIR
|
|
DOCINSTALLDIR:=$(PREFIXINSTALLDIR)/doc/fpc-$(shell ppc386 -iV)
|
|
endif
|
|
|
|
installdoc:
|
|
install -d -m 755 $(DOCINSTALLDIR)
|
|
cp readme.txt $(DOCINSTALLDIR)/README
|
|
cp whatsnew.txt $(DOCINSTALLDIR)/NEWS
|
|
cp faq.htm $(DOCINSTALLDIR)/faq.html
|
|
cp faq.txt $(DOCINSTALLDIR)
|
|
|
|
faq.txt: faq.html
|
|
lynx -dump faq.html > faq.txt
|
|
|