X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/0f5d89e82340278ed3d7d50029f37cab2c41a57e..a01113dcd0f39d5da295ef82785beff9ed86fe38:/icuSources/Makefile.in diff --git a/icuSources/Makefile.in b/icuSources/Makefile.in index c1db15bf..be9435ba 100644 --- a/icuSources/Makefile.in +++ b/icuSources/Makefile.in @@ -48,6 +48,8 @@ ALL_PKGCONFIG_SUFFIX=uc i18n DOXYGEN = @DOXYGEN@ DOCZIP = icu-docs.zip +INSTALL_ICU_CONFIG = @INSTALL_ICU_CONFIG@ + ## Files to remove for 'make clean' CLEANFILES = *~ @@ -64,7 +66,9 @@ SUBDIRS = stubdata common i18n $(LAYOUTEX) $(ICUIO) $(TOOLS) $(DATASUBDIR) $(EX SECTION = 1 +ifeq ($(INSTALL_ICU_CONFIG),true) MANX_FILES = config/icu-config.$(SECTION) +endif ALL_MAN_FILES = $(MANX_FILES) @@ -187,13 +191,15 @@ install-icu: $(INSTALLED_BUILT_FILES) @$(MKINSTALLDIRS) $(DESTDIR)$(libdir)/pkgconfig $(INSTALL_DATA) $(ALL_PKGCONFIG_FILES) $(DESTDIR)$(libdir)/pkgconfig/ $(INSTALL_DATA) $(top_srcdir)/../LICENSE $(DESTDIR)$(pkgdatadir)/LICENSE +ifeq ($(INSTALL_ICU_CONFIG),true) $(INSTALL_SCRIPT) $(top_builddir)/config/icu-config $(DESTDIR)$(bindir)/icu-config +endif $(INSTALL_DATA) $(top_builddir)/config/Makefile.inc $(DESTDIR)$(pkglibdir)/Makefile.inc $(INSTALL_DATA) $(top_builddir)/config/pkgdata.inc $(DESTDIR)$(pkglibdir)/pkgdata.inc # @echo icuinfo.xml is built after make check. # -$(INSTALL_DATA) $(top_builddir)/config/icuinfo.xml $(DESTDIR)$(pkglibdir)/icuinfo.xml cd $(DESTDIR)$(pkglibdir)/..; \ - $(RM) current && ln -s $(VERSION) current; \ + $(RMV) current && ln -s $(VERSION) current; \ $(RM) Makefile.inc && ln -s current/Makefile.inc Makefile.inc; \ $(RM) pkgdata.inc && ln -s current/pkgdata.inc pkgdata.inc @@ -350,7 +356,9 @@ config.status: $(srcdir)/configure $(srcdir)/common/unicode/uvernum.h install-manx: $(MANX_FILES) $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(SECTION) +ifneq ($(MANX_FILES),) $(INSTALL_DATA) $? $(DESTDIR)$(mandir)/man$(SECTION) +endif config/%.$(SECTION): $(srcdir)/config/%.$(SECTION).in cd $(top_builddir) \