lindenb/makefile2graph

'make install' installs docs in incorrect directory

levitte opened this issue · 0 comments

Hi,

I just noticed that make install installs extra documentation in /usr/local/share/makefile2graph when I would have expected it in /usr/local/share/doc/makefile2graph:

install LICENSE README.md screenshot.png /usr/local/share/makefile2graph

I assume that is was a simple mistake, resolved like this:

diff --git a/Makefile b/Makefile
index 1e1fb81..33394aa 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ prefix = /usr/local
 bindir = $(prefix)/bin
 sharedir = $(prefix)/share
 docdir = $(sharedir)/doc
-pkgdocdir = $(sharedir)/makefile2graph
+pkgdocdir = $(docdir)/makefile2graph
 mandir = $(sharedir)/man
 man1dir = $(mandir)/man1