summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/common.mk b/common.mk
index a05e0c6..0bcc2b8 100644
--- a/common.mk
+++ b/common.mk
@@ -1,6 +1,7 @@
topdir := $(dir $(lastword $(MAKEFILE_LIST)))
include $(topdir)/config.mk
-pkgconfdir ?= $(sysconfdir)/libretools.d
+pkgconfdir ?= $(sysconfdir)/libretools.d
+pkgdocdir ?= $(docdir)/libretools
pkglibexecdir ?= $(libexecdir)/libretools
# Misc variables for use in recipes ############################################
@@ -125,7 +126,7 @@ $(sort $(addprefix $(DESTDIR)$(pkglibexecdir)/,$(libs))): $(DESTDIR)$(pkglibexec
# everything else
$(DESTDIR)$(pkgconfdir)/%: %
install -Dm644 '$<' '$@'
-$(DESTDIR)$(docdir)/libretools/%: %
+$(DESTDIR)$(pkgdocdir)/%: %
install -Dm644 '$<' '$@'
$(DESTDIR)$(mandir)/man1/%.1: %.1
install -Dm644 '$<' '$@'