nixpkgs/pkgs/development/misc/man-pages/builder.sh

10 lines
159 B
Bash
Raw Normal View History

source $stdenv/setup
tar zxf $src
cd man-pages-*
sed -e "s#^MANDIR=.*#MANDIR=$out/share/man#" Makefile > Makefile.tmp
mv Makefile.tmp Makefile
make install