catpoint

simple slides viewer
git clone git://git.2f30.org/catpoint
Log | Files | Refs | README | LICENSE

commit 8d71c1d39566eacd2c04752210ea045fac32354c
parent e3433d8088281c0dfe550d5d0cebefd130fcc13e
Author: Lazaros Koromilas <lostd@2f30.org>
Date:   Sat,  9 Feb 2019 20:04:22 +0200

Revert "Use install instead of cp and change var names"

This reverts commit e3433d8088281c0dfe550d5d0cebefd130fcc13e.

Diffstat:
MMakefile | 14++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,16 +1,14 @@ -PREFIX = /usr/local - -NAME = catpoint -all: $(NAME) +BIN = catpoint +all: $(BIN) clean: - rm -f $(NAME) + rm -f $(BIN) install: all - install -d $(DESTDIR)$(PREFIX)/bin - install $(NAME) $(DESTDIR)$(PREFIX)/bin/ + mkdir -p $(DESTDIR)$(PREFIX)/bin + cp -f $(BIN) $(DESTDIR)$(PREFIX)/bin/ uninstall: - rm -f $(DESTDIR)$(PREFIX)/bin/$(NAME) + rm -f $(DESTDIR)$(PREFIX)/bin/$(BIN) include config.mk