From ff91879ae1c0fa1ef3aed6bae5e4c56ad1aaab00 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Tue, 27 Feb 2018 17:43:53 +0200 Subject: [PATCH] Add `docdir` and install README.md to it. [yarrick@kryo.se: Fixed duplicate share/ in path] --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 6365919..54d6037 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,7 @@ prefix?=/usr/local sbindir=$(prefix)/sbin datadir=$(prefix)/share mandir=$(datadir)/man +docdir=$(datadir)/doc DESTDIR= @@ -28,6 +29,9 @@ install: all $(MKDIR) $(MKDIR_FLAGS) $(DESTDIR)$(mandir)/man8 $(INSTALL) $(INSTALL_FLAGS) man/iodine.8 $(DESTDIR)$(mandir)/man8/iodine.8 chmod 644 $(DESTDIR)$(mandir)/man8/iodine.8 + $(MKDIR) $(MKDIR_FLAGS) $(DESTDIR)$(docdir)/iodine + $(INSTALL) $(INSTALL_FLAGS) README.md $(DESTDIR)$(docdir)/iodine/README.md + chmod 644 $(DESTDIR)$(docdir)/iodine/README.md uninstall: $(RM) $(RM_FLAGS) $(DESTDIR)$(sbindir)/iodine