From 5a84f3c84a1f3275f5b3ab51b1cf90327f52b9b2 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 29 Jun 2014 22:47:26 -0400 Subject: common.mk: pull $(docdir)/libretools into $(pkgdocdir) --- common.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'common.mk') 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 '$<' '$@' -- cgit v1.2.2