فهرست منبع

+ Initial implementation

michael 26 سال پیش
والد
کامیت
75b1cdd350
2فایلهای تغییر یافته به همراه133 افزوده شده و 0 حذف شده
  1. 42 0
      install/man/fpcmake.1
  2. 91 0
      install/man/fpcmake.5

+ 42 - 0
install/man/fpcmake.1

@@ -0,0 +1,42 @@
+.TH fpcmake 1 "12 Dec 1999" FreePascal "Free Pascal Makefile constructor"
+.SH NAME
+fpcmake \- The Free Pascal makefile constuctor program.
+
+.SH SYNOPSIS
+
+.B fpcmake
+
+.SH DESCRIPTION
+
+.B fpcmake
+reads a 
+.I Makefile.fpc
+and converts it to a 
+.I Makefile
+suitable for reading by GNU 
+.I make
+to compile your projects. It is similar in functionality to GNU 
+.I autoconf 
+or 
+.I Imake
+for making X projects.
+
+.SH USAGE
+
+.B fpcmake
+takes no options at this time. It just attempts to read the file 
+.I Makefile.fpc
+in the current directory and tries to construct a Makefile from it.
+any previously existing 
+.I Makefile
+will be erased. See 
+.BR fpcmake (5)
+for a description of the format of the
+.I Makefile.fpc
+file.
+
+.SH SEE ALSO
+.IP 
+.BR  fpcmake (5)
+.BR  ppc386 (1)
+.BR  make (1)

+ 91 - 0
install/man/fpcmake.5

@@ -0,0 +1,91 @@
+.TH fpcmake 5 "12 Dec 1999" FreePascal "Free Pascal Makefile.fpc format"
+.SH NAME
+Makefile.fpc \- Configuration file for fpcmake.
+
+.SH SYNOPSIS
+.SH DESCRIPTION
+
+.B Makefile.fpc
+is a plain ASCII file that contains a number of sections as in a Windows
+.I ini
+file. The following sections are recognized (in alphabetical order):
+.TP
+.B clean
+Specifies rules for cleaning the directory of units and programs. 
+The following entries are recognized:
+.RS
+.TP
+.I units
+names of all units that should be removed when cleaning. Don't specify
+extensions, the makefile will append these by itself.
+.TP
+.I files
+names of files that should be removed. Specify full filenames.
+.RE
+.TP
+.B defaults
+The defaults section contains some default settings. The following keywords
+are recognized:
+.RS
+.TP
+
+.RE
+.TP
+.B dirs
+.TP
+.B info
+.TP
+.B install
+Contains instructions for installation of your units and programs. The
+following keywods are recognized:
+.RS
+.TP
+.I dirprefix
+the directory below wchich all installs are done. This corresponds to the
+.I \-\-prefix
+argument to GNU 
+.I configure
+It is used for the installation of programs and units. By default, this is 
+. /usr
+on linux, and 
+. /pp
+on all other platforms.
+.TP
+.I dirbase 
+The directory that is used as the base directory for the installation of
+units. Default this is 
+.I dirprefix 
+appended with
+.I /lib/fpc/FPC\_VERSION
+for linux or simply the dirprefix on other platforms.
+.RE
+Units will be installed in the subdirectory 
+.I units/$(OS\_TARGET)
+of the 
+.I dirbase
+entry.
+.TP
+.B libs
+
+.TP
+.B packages
+.TP
+.B postsettings
+.TP
+.B presettings
+.TP
+.B rules
+.TP
+.B sections
+.TP
+.B targets
+.TP
+.B tools
+.TP
+.B zip
+
+.SH SEE ALSO
+.IP 
+.BR  fpcmake (1)
+.BR  ppc386 (1)
+.BR  make (1)