ap

An audio player suited to my tastes
Log | Files | Refs | README | LICENSE

commit e9aee0940e11340dc82d3c0181a084aa5c9b4682
parent e655ff1937f812db4f79dff7992967989035f8a3
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date:   Thu, 20 May 2021 02:16:04 -0700

Fix mk(1) install and uninstall targets

Diffstat:
Mmkfile | 9+++------
1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/mkfile b/mkfile @@ -7,7 +7,6 @@ ldflags = -L/usr/lib ldlibs = -lc prefix = /usr/local -manprefix = $prefix/man names = aps apc src = sock.c apcon.c util.c command.c queue.c player.c @@ -34,10 +33,8 @@ $names: $mainobj $obj clean:V: rm -f $names $mainobj $obj -install:V: $name - cp -f $name $prefix/bin - cp -f $name.1 $manprefix/man1 +install:V: $names + cp -f $names $prefix/bin uninstall:V: - rm -f $prefix/bin/$name - rm -f $manprefix/man1/$name.1 + (cd $prefix/bin && rm -f $names)