summaryrefslogtreecommitdiff
path: root/doc.am
Commit message (Collapse)AuthorAgeFilesLines
* Add 'guix graph'.Ludovic Courtès2015-08-271-7/+16
| | | | | | | | | | | | | | | | | * guix/scripts/graph.scm, tests/graph.scm, tests/guix-graph.sh, doc/images/coreutils-bag-graph.dot, doc/images/coreutils-graph.dot: New files. * Makefile.am (MODULES): Add guix/scripts/graph.scm. (SH_TESTS): Add tests/guix-graph.sh. (SCM_TESTS): Add tests/graph.scm. * doc.am (DOT_FILES, DOT_VECTOR_GRAPHICS): New variables. (EXTRA_DIST): Use them. (dist_infoimage_DATA): Use $(DOT_FILES). (pdf-local, info-local, ps-local): Likewise. * doc/guix.texi (Packages with Multiple Outputs): Add cross-reference to 'guix graph'. (Invoking guix gc): Likewise. (Invoking guix graph): New section.
* scripts: package: Add --install-from-file option.David Thompson2015-08-191-1/+2
| | | | | | | | | | * guix/scripts/package.scm (show-help): Add help text for --install-from-file option. (%options): Add --install-from-file option. * tests/guix-package.sh: Test it. * doc/guix.texi ("invoking guix package"): Document it. * doc/package-hello.scm: New file. * doc.am (EXTRA_DIST): Add it.
* build: Ensure man pages are not rebuilt by users.Ludovic Courtès2015-07-191-3/+5
| | | | | | | | | * doc.am (doc/guix.1): Remove dependency on 'scripts/guix' since every user would end up rebuilding 'guix.1'. Add dependency on guix/scripts/*.scm. (doc/guix-daemon.1): For the same reason, depend on 'guix-daemon.cc' instead of 'guix-daemon'. (doc/guix-$(1).1): Similarly, remove dependency on 'scripts/guix' and depend on 'guix/scripts/$(1).scm' instead of the .go file.
* build: Build coreutils-size-map.eps for the sake of the PS and DVI outputs.Ludovic Courtès2015-07-191-1/+8
| | | | | | | * doc.am (EXTRA_DIST): Add coreutils-size-map.eps. (.png.eps): New rule. (ps-local): Add dependency on coreutils-size-map.eps. (dvi-local): New target.
* doc: Add 'guix environment' examples.Ludovic Courtès2015-06-291-1/+2
| | | | | | | | * doc/environment-gdb.scm: New file. * doc.am (EXTRA_DIST): Add it. * doc/guix.texi (Invoking guix environment): Clarify wording of the first example. Add a --ad-hoc example upfront. Add an example for '-e', and one for '-l'.
* size: Add '--map-file' option.Ludovic Courtès2015-06-211-1/+3
| | | | | | | | | * guix/scripts/size.scm (profile->page-map): New procedures. (show-help, %options): Add --map-file. (guix-size): Honor it. * doc/guix.texi (Invoking guix size): Document it. * doc/images/coreutils-size-map.png: New file. * doc.am (dist_infoimage_DATA): Add it.
* Add 'guix size'.Ludovic Courtès2015-06-181-0/+1
| | | | | | | | | | | | | | | * guix/scripts/size.scm: New file. * Makefile.am (MODULES): Add it. (SCM_TESTS): Add tests/size.scm. * doc.am (SUBCOMMANDS): Add 'size'. * po/guix/POTFILES.in: Add guix/scripts/size.scm. * tests/size.scm: New file. * doc/guix.texi (Packages with Multiple Outputs): Add xref to "Invoking guix size". (Invoking guix size): New node. (Invoking guix gc): Add index for "closure" and xref to the above. * doc/contributing.texi (Submitting Patches): Use @enumerate for the check list. Add item about 'guix size'.
* Add 'guix edit'.Ludovic Courtès2015-06-181-0/+1
| | | | | | | | | * guix/scripts/edit.scm: New file. * Makefile.am (MODULES): Add it. * doc.am (SUBCOMMANDS): Add 'edit'. * doc/guix.texi (Defining Packages): Add xref to "Invoking guix edit". (Invoking guix edit): New node. * po/guix/POTFILES.in: Add it.
* build: Don't build the guix-daemon man page when --disable-daemon.Ludovic Courtès2015-06-161-1/+7
| | | | | | | Fixes <http://bugs.gnu.org/20824>. Reported by Mark H Weaver <mhw@netris.org>. * doc.am (dist_man1_MANS): Conditionalize doc/guix-daemon.1 on BUILD_DAEMON.
* doc: Move most 'HACKING' informations into the manual.Mathieu Lirzin2015-06-141-0/+1
| | | | | | | | | | | * HACKING (Contributing): New section. (Building from Git, The Perfect Setup, Coding Style, Submitting Patches): Move to ... * doc/guix.texi (Running Guix Before It Is Installed): Likewise. * doc/contributing.texi: ... here. New file. * doc.am (EXTRA_DIST): Use it. * README (Installation): Adapt to it. * configure.ac (DOT): Likewise.
* build: Build man pages after the corresponding code.Ludovic Courtès2015-06-101-3/+3
| | | | | | | * doc.am (doc/guix.1): Remove extraneous $(top_builddir)/. (doc/guix-daemon.1): Fix dependency. (doc/guix-$(1).1): Remove extraneous $(top_builddir)/. Depend on the .go files instead of the .scm file. Add dependency on scripts/guix.
* doc: Build guix-daemon man page.Ludovic Courtès2015-06-031-0/+5
| | | | | * doc.am (doc/guix-daemon.1): New target. (dist_man1_MANS): Add it.
* build: Build and install manual pages.Ludovic Courtès2015-06-011-0/+37
| | | | | | | * configure.ac: Use 'AM_MISSING_PROG' for 'help2man'. * doc.am (subcommand-manual-target, SUBCOMMANDS, dist_man1_MANS): New variables. (doc/guix-$(1).1, doc/guix.1): New targets.
* doc: Show both the "bare-bones" and the "desktop" configurations.Ludovic Courtès2015-05-091-4/+8
| | | | | | | | | | | | * doc/guix.texi (System Installation): Add xref to "Using the Configuration System" instead of including one here. (Using the Configuration System): Remove first example, and include os-config-bare-bones.texi instead. Include os-config-desktop.texi as a second example. * doc.am (OS_CONFIG_EXAMPLES_TEXI): New variable. (BUILT_SOURCES, EXTRA_DIST, MAINTAINERCLEANFILES): Use it. (doc/os-config.texi): Remove. (doc/os-config-%.texi): New target.
* doc: Rename OS config example.Ludovic Courtès2015-05-091-2/+2
| | | | | | | | | * gnu/system/os-config.tmpl: Rename to... * gnu/system/examples/bare-bones.tmpl: ... this. * Makefile.am (EXAMPLES): Adjust accordingly. * doc.am (doc/os-config.texi): Likewise. * gnu/system/install.scm (configuration-template-service)[template]: Likewise.
* build: Add doc/emacs.texi to the distribution.Ludovic Courtès2014-11-171-0/+1
| | | | * doc.am (EXTRA_DIST): Add doc/emacs.texi.
* doc: Make sure out-of-source-tree builds find os-config.tmpl.Ludovic Courtès2014-07-241-1/+10
| | | | | | | | | * Makefile.am (BUILT_SOURCES): New variable. * daemon.am (BUILT_SOURCES): Use +=. * doc.am (BUILT_SOURCES, MAINTAINERCLEANFILES, EXTRA_DIST): Add doc/os-config.texi. (doc/os-config.texi): New target. * doc/guix.texi (System Installation): Include os-config.texi.
* build: Build the bootstrap-graph.{png,eps,pdf} under $(top_srcdir).Ludovic Courtès2013-10-181-4/+5
| | | | | | | | | | Fixes <http://bugs.gnu.org/15640>. Reported by Eric Bavier <ericbavier@gmail.com>. * doc.am (EXTRA_DIST): Add doc/images/bootstrap-graph.pdf to the distribution. (pdf-local, info-local, ps-local): Prepend $(top_srcdir) to the image file names.
* build: Have `pdf' depend on the PDF image.Ludovic Courtès2013-08-291-3/+7
| | | | | | * doc.am (DOT_OPTIONS): Remove `-Tpng'. (.dot.pdf): New rule. (pdf-local): Depend on the .pdf.
* build: Use `missing' for `dot'.Ludovic Courtès2013-08-291-2/+2
| | | | | * configure.ac: Substitute `DOT'. * doc.am (.dot.png, .dot.eps): Use $(DOT).
* build: Build docs from the top-level Makefile.Ludovic Courtès2013-08-291-0/+48
This undoes commit 575ed8d ("doc: Create own Makefile.am in subdirectory."), and fixes a bug whereby "make pdf" or "make ps" wouldn't do anything. * doc/Makefile.am: Remove. * doc.am: New file. Use `-local' rules to build the image. * Makefile.am: Include it. * configure.ac: Use `-Woverride' to avoid undesired overridding of Automake rules.