dot

packages and services management
Log | Files | Refs | README

commit bd4295e156564838dc9f8d27af6ce4ed6e4451b5
parent 7ba167f9c92c636f346a97d9f704701a6608ff27
Author: Josuah Demangeon <josuah.demangeon@gandi.net>
Date:   Thu,  3 Aug 2017 18:03:03 +0200

ex-vi/build: Makefile looks definetely broken :(

Diffstat:
Mex-vi/build | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/ex-vi/build b/ex-vi/build @@ -2,10 +2,14 @@ sed -r 's|^(#define +TUBECOLS *) 160|\1 1000|' config.h > config.h.tmp mv config.h.tmp config.h awk -v VAR="$VAR" ' - /^INSTALL/ { sub("/usr/ucb/", "") } /^PRESERVEDIR/ { sub("/var/preserve", VAR "/ex-vi") } { print } ' Makefile > Makefile.tmp mv Makefile.tmp Makefile -make PREFIX="$PREFIX" install +make + +mkdir -p "$PREFIX/bin" "$PREFIX/share/man/man1" +cp ex "$PREFIX/bin/ex" +cp ex "$PREFIX/bin/vi" +cp ex.1 vi.1 "$PREFIX/share/man/man1"