diff options
author | John Hawthorn <john.hawthorn@gmail.com> | 2014-09-27 16:43:57 -0700 |
---|---|---|
committer | John Hawthorn <john.hawthorn@gmail.com> | 2014-09-27 16:50:08 -0700 |
commit | c1a04667078930fa012f8ddea534169e0f54fd57 (patch) | |
tree | 8a55333aaad1a5e8555aed1e268fddd4004b4a70 /Makefile | |
parent | 0826e522f4c802e499387f4928a4984595c4c759 (diff) |
More portable make install
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |