From c1a04667078930fa012f8ddea534169e0f54fd57 Mon Sep 17 00:00:00 2001 From: John Hawthorn Date: Sat, 27 Sep 2014 16:43:57 -0700 Subject: More portable make install --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3