Skip to content

'make install' installs docs in incorrect directory #25

@levitte

Description

@levitte

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
 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions