mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-5330 Install man pages correctly.
X-SVN-Rev: 20163
This commit is contained in:
parent
792fec0096
commit
331a0bd518
1 changed files with 6 additions and 8 deletions
|
@ -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) \
|
||||
|
|
Loading…
Add table
Reference in a new issue