From 15e498ef902d21a65c4d27c8721dde770bd9bc6d Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Wed, 22 Aug 2007 14:42:53 +0000 Subject: [PATCH] topdir.mk: Add DOCS to INSTALLED_TOPDIR_FILES --- make/topdir.mk | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/make/topdir.mk b/make/topdir.mk index 35a8abd4..7353cf37 100644 --- a/make/topdir.mk +++ b/make/topdir.mk @@ -1,7 +1,7 @@ SUBDIRS ?= make all: config -install: +install: topdir.install clean: topdir.clean distclean: topdir.distclean config: @@ -20,6 +20,8 @@ ifneq ($(wildcard $(TOPDIR)/make/defs.mk.in),) include $(MODDIR)/make/autoconf.mk endif +INSTALLED_TOPDIR_FILES = $(addprefix $(INSTALL_DOCDIR)/, $(DOCS)) + local-%: find . -name $@.mk | \ while read f; do (\ @@ -32,8 +34,8 @@ unlocal: rm -f $(shell find . -name local.mk) topdir.distclean: - rm -f $(DISTCLEAN) topdir.clean: - rm -f $(CLEAN) + +topdir.install: $(INSTALLED_TOPDIR_FILES)