From 331a0bd5189678bc59f288dc521c5a1cd159e96d Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Fri, 25 Aug 2006 17:22:03 +0000 Subject: [PATCH] ICU-5330 Install man pages correctly. X-SVN-Rev: 20163 --- icu4c/source/tools/icupkg/Makefile.in | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/icu4c/source/tools/icupkg/Makefile.in b/icu4c/source/tools/icupkg/Makefile.in index b09c2824a06..723c8a3db2c 100644 --- a/icu4c/source/tools/icupkg/Makefile.in +++ b/icu4c/source/tools/icupkg/Makefile.in @@ -14,15 +14,11 @@ include $(top_builddir)/icudefs.mk ## Build directory information subdir = tools/icupkg -## - TARGET_STUB_NAME = icupkg SECTION = 1 -MANX_FILES = $(TARGET_STUB_NAME).$(SECTION) - -ALL_MAN_FILES = $(MANX_FILES) +MAN_FILES = $(TARGET_STUB_NAME).$(SECTION) ## Extra files to remove for 'make clean' CLEANFILES = *~ $(DEPS) $(MAN_FILES) @@ -61,6 +57,11 @@ install-local: all-local install-man $(MKINSTALLDIRS) $(DESTDIR)$(sbindir) $(INSTALL) $(TARGET) $(DESTDIR)$(sbindir) +install-man: $(MAN_FILES) + $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(SECTION) + $(INSTALL_DATA) $? $(DESTDIR)$(mandir)/man$(SECTION) + + dist-local: clean-local: @@ -79,9 +80,6 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(TARGET) : $(OBJECTS) $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS) -install-man: $(MAN_FILES) - $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(SECTION) - $(INSTALL_DATA) $? $(DESTDIR)$(mandir)/man$(SECTION) %.$(SECTION): $(srcdir)/%.$(SECTION).in cd $(top_builddir) \