diff --git a/.gitattributes b/.gitattributes index 4e8ac0a002..4107d6b307 100644 --- a/.gitattributes +++ b/.gitattributes @@ -2664,6 +2664,10 @@ images/template.png -text svneol=unset#image/png images/vase_trans.xpm -text svneol=native#image/x-xpixmap install/lazarus-mime.xml svneol=native#text/plain install/lazarus.desktop svneol=native#text/plain +install/man/Makefile svneol=native#text/plain +install/man/man1/lazarus-ide.1 svneol=native#text/plain +install/man/man1/lazbuild.1 svneol=native#text/plain +install/man/man1/startlazarus.1 svneol=native#text/plain languages/README.txt svneol=native#text/plain languages/installerstrconsts.de.po svneol=native#text/plain languages/installerstrconsts.fr.po svneol=native#text/plain diff --git a/debian/changelog b/debian/changelog index b8b234023d..e34284177d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,7 +2,15 @@ lazarus (0.9.25-0) unstable; urgency=low * Merged debian rules with official debian svn. - -- Mazen Neifer Tue, 08 Apr 2008 22:35:37 +0200 + -- Mazen Neifer Tue, 20 Apr 2008 10:21:40 +0200 + +lazarus (0.9.24-0-7) unstable; urgency=low + + [ Mazen Neifer ] + * Added a link of lazbuild tool into /usr/bin + * Added man pages for binaries. + + -- Mazen Neifer Sun, 20 Apr 2008 02:32:21 +0200 lazarus (0.9.24-0-6) unstable; urgency=low diff --git a/debian/rules b/debian/rules index 69a65bfdba..434ed0520e 100755 --- a/debian/rules +++ b/debian/rules @@ -98,6 +98,8 @@ install-arch-stamp: build-arch-stamp debian-files-stamp convert -geometry 32x32 $(CURDIR)/images/ide_icon48x48.png $(INSTALL_DIR)/usr/share/pixmaps/lazarus.xpm chmod 644 $(INSTALL_DIR)/usr/share/pixmaps/lazarus.xpm install -m 644 $(CURDIR)/install/lazarus.desktop $(INSTALL_DIR)/usr/share/applications/lazarus.desktop +# Install man pages + $(MAKE) -C install/man installman $(INSTALLOPTS) INSTALL_PREFIX=$(INSTALL_DIR)/usr/share touch install-arch-stamp arrange-arch: arrange-arch-stamp diff --git a/install/man/Makefile b/install/man/Makefile new file mode 100644 index 0000000000..e9f492e51f --- /dev/null +++ b/install/man/Makefile @@ -0,0 +1,33 @@ +################################## +# Man page installation for unix +# + +override PATH:=$(subst \,/,$(PATH)) +SEARCHPATH:=$(filter-out .,$(subst :, ,$(PATH))) + + +ifndef INSTALL_PREFIX +INSTALL_PREFIX=/usr/local +endif + +ifndef GINSTALL +GINSTALL:=$(strip $(wildcard $(addsuffix /ginstall,$(SEARCHPATH)))) +ifeq ($(GINSTALL),) +GINSTALL:=$(strip $(wildcard $(addsuffix /install,$(SEARCHPATH)))) +ifeq ($(GINSTALL),) +GINSTALL= +else +GINSTALL:=$(firstword $(GINSTALL)) +endif +else +GINSTALL:=$(firstword $(GINSTALL)) +endif +endif + +INSTALL_MANDIR=$(INSTALL_PREFIX)/man + +installman: + $(GINSTALL) -d -m 755 $(INSTALL_MANDIR)/man1 +# $(GINSTALL) -d -m 755 $(INSTALL_MANDIR)/man5 + $(GINSTALL) -c -m 644 man1/*.1 $(INSTALL_MANDIR)/man1 +# $(GINSTALL) -c -m 644 man5/*.5 $(INSTALL_MANDIR)/man5 diff --git a/install/man/man1/lazarus-ide.1 b/install/man/man1/lazarus-ide.1 new file mode 100644 index 0000000000..ea3f3e568e --- /dev/null +++ b/install/man/man1/lazarus-ide.1 @@ -0,0 +1,56 @@ +.TH Lazarus 1 "19 April 2008" "Free Pascal" "Free Pascal RAD IDE" +.SH NAME +Lazarus \- is a Rapid Application Development (RAD) for the Free Pascal Compiler (FPC) including an Integrated Development Environment (IDE). + +.SH SYNOPSIS + +.B "lazarus" + +.SH DESCRIPTION +This binary is an integrated development environment for the +.I Free Pascal Compiler (FPC) +which is an advanced +.I Turbo Pascal +and +.I Delphi (7.0) +compatible multi-target Pascal compiler. +.PP +The IDE uses +.BR FPC (1) +.PP +The current main supported targets are +.I Linux, +.I MacOSX, +.I Freebsd, +.I MacOS, +and +.I Win32. +The other targets are either based on older +versions of the compiler or are still in development. +.PP +This manpage is meant for quick\-reference only. Lazarus comes with an online manual, which is updated constantly, while this man page can be out of date. + +.SH Usage + +The user interface of the IDE has been designed to be similar to Delphi. +It provides the user with a user friendly, but rather powerful editor, a form editor, an extensive on-line help system and a debugger. + +A windowing system is the base of the user interface. The user will usually open a few text editor windows in which he will design his program, during which he can regularly check and +debug through the use of hot keys. The high speed of the compiler ensures that programmers +can do this often and therefore allows speedy development of code. + +.SH Help files + +No help files are provided by default. The user must download the Lazarus and Free Pascal documentation +in HTML format and install it into the IDE using the Help->Configure Help. +Files can also be installed in this menu and can be useful for source code that ships with HTML files as documentation. + +.SH AUTHORS +Lazarus development team (see +.I http://lazarus.freepascal.org +) + +.SH SEE ALSO +.BR fpc (1) +.BR startlazarus (1) +.BR lazbuild (1) diff --git a/install/man/man1/lazbuild.1 b/install/man/man1/lazbuild.1 new file mode 100644 index 0000000000..9eb7ba04cc --- /dev/null +++ b/install/man/man1/lazbuild.1 @@ -0,0 +1,64 @@ +.TH lazbuild 1 "19 April 2008" "Lazarus" "Lazarus Projects Builder" +.SH NAME +lazbuild \- The Lazarus projects builder. + +.SH SYNOPSIS + +.B lazbuild [options] + +.SH DESCRIPTION + +.B lazbuild +TO BE FILLED. + +.SH USAGE + +.B lazbuild + +.SH OPTIONS +.B lazbuild +has a small number of options to control it's behaviour: + +.TP +.BI "\-h, \-\-help" +Displays a short help message. +.TP +.BI "-B, --build-all" +build all files of project/package +.TP +.BI "-r, --recursive" +apply build flags (-B) to dependencies too. +.TP +.BI "-d, --skip-dependencies" +do not compile dependencies +.TP +.BI "-v, --version" +show version and exit +.TP +.BI " --pcp=, --primary-config-path=" +primary config directory, where Lazarus stores its config files. Default is /home/mazen/.lazarus +.TP +.BI "--scp=, --secondary-config-path=" +secondary config directory, where Lazarus searches for config template files. Default is /etc/lazarus +.TP +.BI "--os=, --operating-system=" +override the project operating system. e.g. win32 linux. +.TP +.BI "--ws=, --widgetset=" +override the project widgetset. e.g. gtk gtk2 qt win32 carbon. +.TP +.BI "--cpu=" +override the project cpu. e.g. i386 x86_64 powerpc powerpc_64 etc. +.TP +.BI "--compiler=" +override the default compiler. e.g. ppc386 ppcx64 ppcppc etc. +.TP +.BI "--language=" +Override language. For example --language=de. For possible values see files in the languages directory. + +.SH SEE ALSO +.IP +.BR lazarus-ide (1) +.BR fpcmake (1) +.BR fpc (1) +.BR make (1) diff --git a/install/man/man1/startlazarus.1 b/install/man/man1/startlazarus.1 new file mode 100644 index 0000000000..61f1f5b67a --- /dev/null +++ b/install/man/man1/startlazarus.1 @@ -0,0 +1,25 @@ +.TH startlazarus 1 "19 April 2008" "Lazarus" "Lazarus starter" +.SH NAME +startlazarus \- starts lazarus program. +.B fpdoc. + +.SH SYNOPSIS + +.B "lazarus" + +.SH Description + +.B startlazarus +is used to start the lazarus-ide program. + +.SH Usage + +You can invoke +.B startlazarus +without any arguments. + +.SH SEE ALSO +.IP +.BR lazarys (1) +.BR lazbuild (1) +.BR fpc (1)