summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Hawthorn <john.hawthorn@gmail.com>2014-09-27 16:43:57 -0700
committerJohn Hawthorn <john.hawthorn@gmail.com>2014-09-27 16:50:08 -0700
commitc1a04667078930fa012f8ddea534169e0f54fd57 (patch)
tree8a55333aaad1a5e8555aed1e268fddd4004b4a70 /Makefile
parent0826e522f4c802e499387f4928a4984595c4c759 (diff)
More portable make install
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 4854fca..d6e8fed 100644
--- a/Makefile
+++ b/Makefile
@@ -26,9 +26,10 @@ fzy: fzy.o match.o tty.o choices.o
$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
install: fzy
- $(INSTALL_PROGRAM) fzy $(DESTDIR)$(BINDIR)/fzy
- $(INSTALL_PROGRAM) -d $(DESTDIR)$(MANDIR)/man1
- $(INSTALL_PROGRAM) fzy.1 $(DESTDIR)$(MANDIR)/man1/fzy.1
+ mkdir -p $(DESTDIR)$(BINDIR)
+ cp fzy $(DESTDIR)$(BINDIR)/
+ mkdir -p $(DESTDIR)$(MANDIR)/man1
+ cp fzy.1 $(DESTDIR)$(MANDIR)/man1/
clean:
$(RM) fzy fzytest *.o