diff options
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 '$<' '$@' |