morpheus

suckless linux distro
git clone git://git.2f30.org/morpheus
Log | Files | Refs | Submodules | README | LICENSE

commit 11cb59cf2f213c5a9a72b54c39119cd4a04678d9
parent 96f93eb4c458b6d977933d4d6ff1abfa59023063
Author: Daniel Bainton <dpb@driftaway.org>
Date:   Mon, 10 Mar 2014 13:51:01 +0200

Add sbase/ubase version info to man pages

Diffstat:
Mpkgs/sbase/build | 3++-
Mpkgs/ubase/build | 3++-
2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/pkgs/sbase/build b/pkgs/sbase/build @@ -1,3 +1,4 @@ +v="0.0" git="git://git.2f30.org/sbase" build: crossmusl @@ -21,7 +22,7 @@ build: crossmusl done mkdir -p "$root/share/man/man1" for f in *.1; do - cp $f "$root/share/man/man1" + sed -e "s/VERSION/$v/g" $f > $root/share/man/man1/$f done # these are still buggy for f in grep cp tar ; do diff --git a/pkgs/ubase/build b/pkgs/ubase/build @@ -1,3 +1,4 @@ +v=0.0 git="git://git.2f30.org/ubase" build: crossmusl @@ -22,7 +23,7 @@ build: crossmusl done mkdir -p "$root/share/man/man1" for f in *.1; do - cp $f "$root/share/man/man1" + sed -e "s/VERSION/$v/g" $f > $root/share/man/man1/$f done mkdir -p "$root/share/man/man8" for f in *.8; do