Skip to content

Commit

Permalink
autoconf: build offline html documentation (#172103)
Browse files Browse the repository at this point in the history
* autoconf: build offline html documentation

* Update pkgs/development/tools/misc/autoconf/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

* Update pkgs/development/tools/misc/autoconf/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

Co-authored-by: Dmitry Bogatov <git#v1@kaction.cc>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
  • Loading branch information
3 people authored May 9, 2022
1 parent 27575e9 commit d954878
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions pkgs/development/tools/misc/autoconf/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, m4, perl }:
{ lib, stdenv, fetchurl, m4, perl, texinfo }:

# Note: this package is used for bootstrapping fetchurl, and thus
# cannot use fetchpatch! All mutable patches (generated by GitHub or
Expand All @@ -8,6 +8,7 @@
stdenv.mkDerivation rec {
pname = "autoconf";
version = "2.71";
outputs = [ "out" "doc" ];

src = fetchurl {
url = "mirror://gnu/autoconf/autoconf-${version}.tar.xz";
Expand All @@ -19,8 +20,15 @@ stdenv.mkDerivation rec {
./2.71-fix-race.patch
];

nativeBuildInputs = [ m4 perl ];
nativeBuildInputs = [ m4 perl texinfo ];
buildInputs = [ m4 ];
postBuild = "
make html
";

postInstall = "
make install-html
";

# Work around a known issue in Cygwin. See
# http://thread.gmane.org/gmane.comp.sysutils.autoconf.bugs/6822 for
Expand Down

0 comments on commit d954878

Please sign in to comment.