catpoint

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

commit e3433d8088281c0dfe550d5d0cebefd130fcc13e
parent ceb1dee391e7bf6cba3f8ef9a264717247c8fb71
Author: lostd <lostd@2f30.org>
Date:   Sun, 20 Jul 2014 17:24:48 +0300

Use install instead of cp and change var names

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

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