topdir.mk: Add DOCS to INSTALLED_TOPDIR_FILES

This commit is contained in:
Jan Lindemann 2007-08-22 14:42:53 +00:00 committed by Jan Lindemann
commit 15e498ef90

View file

@ -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)