mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-14 00:26:05 +02:00
22 lines
432 B
Makefile
22 lines
432 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.txt faq.html $(DOCINSTALLDIR)
|
|
|
|
faq.txt: faq.html
|
|
lynx -dump faq.html > faq.txt
|
|
|