diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-05-28 03:19:41 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-05-28 03:19:41 +0200 |
commit | b1751c0b94311c00e7f73b7ca98a587dbf48ef59 (patch) | |
tree | aa7be0253c48e9b28a1dfa9e137dfdd2fd6a0c05 /info | |
parent | add install and uninstall rules (diff) | |
download | libgamma-b1751c0b94311c00e7f73b7ca98a587dbf48ef59.tar.gz libgamma-b1751c0b94311c00e7f73b7ca98a587dbf48ef59.tar.bz2 libgamma-b1751c0b94311c00e7f73b7ca98a587dbf48ef59.tar.xz |
on installing
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | info/libgamma.texinfo | 128 |
1 files changed, 128 insertions, 0 deletions
diff --git a/info/libgamma.texinfo b/info/libgamma.texinfo index 7ffeec7..191cf32 100644 --- a/info/libgamma.texinfo +++ b/info/libgamma.texinfo @@ -231,6 +231,134 @@ to remove all compiled files, and all compiled files and the files generated by @command{./configure}. +To install @command{libgamma} once +it is compiled run @command{make install} +and then @command{make uninstall} once +you want to uninstall the library. +When running @command{make install} +include the option @option{DESTDIR="$@{pkgdir@}"}, +where @file{$@{pkgdir@}} is the directory +you want the files to be installed to +instead of @file{/}, this could for example +be @file{/mnt} where you have mounted another +installed operating system or a temporary +location used by the package manager. +This is also a set of options to specify +how the system's file system hierarchy is +structured. + +@table @option +@item PREFIX +The package path prefix, if you want to install +to another root, set @option{DESTDIR} to that root. +Defaults to @file{/usr}. + +@item LIB +The library path excluding prefix. +Defaults to @file{/lib}. + +@item INCLUDE +The library header path excluding prefix. +Defaults to @file{/include}. + +@item DATA +The resource path excluding prefix. +Defaults to @file{/share}. + +@item LIBDIR +The library path including prefix. +Defaults to @file{$(PREFIX)$(LIB)}. + +@item INCLUDEDIR +The library header including prefix +Defaults to @file{$(PREFIX)$(INCLUDE)}. + +@item DATADIR +The resource path including prefix. +Defaults to @file{$(PREFIX)$(DATA)}. + +@item DOCDIR +The generic documentation path including prefix. +Defaults to @file{$(DATADIR)/doc}. + +@item INFODIR +The info manual documentation path including prefix. +Defaults to @file{$(DATADIR)/info}. + +@item LICENSEDIR +The license base path including prefix. +Defaults to @file{$(DATADIR)/licenses} +@end table + +There is also an option to specify the package name +of the library: @option{PKGNAME}. This only affects +the name and location of files installed into +@option{DOCDIR}, @option{INFODIR} and @option{LICENSEDIR}. +It does not affect the name of the library. + +For more control on what should be installed, +subsitute @option{install} from @command{make install} +for one or more of the following rules: + +@table @option +@item install +Macro for @option{install-base} and @option{install-info}. +Installs everything but only the manual in the info format. +@command{install-info} will not be execute the install the +manual to the @file{dir} file for @command{info}. + +@item install-all +Macro for @option{install-base} and @option{install-doc}. +Installs everything including all available formats of the manual. +@command{install-info} will not be execute the install the +manual to the @file{dir} file for @command{info}. + +@item install-base +Macro for @option{install-lib}, @option{install-include} and +@option{install-copyright}. +Installs the library, the headers files for the library +so that you can compile other software that uses the library, +and the copyright file and the license file. + +@item install-lib +Installs the library, but not its header files. + +@item install-include +Installs the library's header files but not the +library itself. + +@item install-copyright +Macro for @option{install-copying}, and @option{install-license}. +Installs the copyright file and the license file. + +@item install-copying +Installs the copyright file but not the license file. + +@item install-license +Installs the license file but not the copyright file. + +@item install-doc +Macro for @option{install-info}, @option{install-pdf}, +@option{install-ps} and @option{install-dvi}. +Installs the manual in all available formats. +@command{install-info} will not be execute the install the +manual to the @file{dir} file for @command{info}. + +@item install-info +Installs the info manual. +@command{install-info} will not be execute the install the +manual to the @file{dir} file for @command{info}. + +@item install-pdf +Installs the PDF manual. + +@item install-ps +Installs the PostScript manual. + +@item install-dvi +Installs the DVI manual. +@end table + @node GNU Free Documentation License |