mirror of
https://github.com/yarrick/iodine.git
synced 2025-04-10 04:21:01 +00:00
Add docdir
and install README.md to it.
This commit is contained in:
parent
05dc792d86
commit
89cc8a4478
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
@ -2,6 +2,7 @@ prefix?=/usr/local
|
||||||
sbindir=$(prefix)/sbin
|
sbindir=$(prefix)/sbin
|
||||||
datadir=$(prefix)/share
|
datadir=$(prefix)/share
|
||||||
mandir=$(datadir)/man
|
mandir=$(datadir)/man
|
||||||
|
docdir=$(datadir)/share/doc
|
||||||
|
|
||||||
DESTDIR=
|
DESTDIR=
|
||||||
|
|
||||||
|
@ -28,6 +29,9 @@ install: all
|
||||||
$(MKDIR) $(MKDIR_FLAGS) $(DESTDIR)$(mandir)/man8
|
$(MKDIR) $(MKDIR_FLAGS) $(DESTDIR)$(mandir)/man8
|
||||||
$(INSTALL) $(INSTALL_FLAGS) man/iodine.8 $(DESTDIR)$(mandir)/man8/iodine.8
|
$(INSTALL) $(INSTALL_FLAGS) man/iodine.8 $(DESTDIR)$(mandir)/man8/iodine.8
|
||||||
chmod 644 $(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:
|
uninstall:
|
||||||
$(RM) $(RM_FLAGS) $(DESTDIR)$(sbindir)/iodine
|
$(RM) $(RM_FLAGS) $(DESTDIR)$(sbindir)/iodine
|
||||||
|
|
Loading…
Add table
Reference in a new issue