Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/dist/file/src Breate some band-aid here: for some reason new...



details:   https://anonhg.NetBSD.org/src/rev/8209dd431cbc
branches:  trunk
changeset: 559764:8209dd431cbc
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue Mar 23 15:49:53 2004 +0000

description:
Breate some band-aid here: for some reason new autoconf wants to use
$(mkdir_p) which isn't defined anywhere.  So replace it with good ol'
$(mkinstalldirs) to fix problem with tools installation.
XXX: need to revisit this to discover true lossage.

Problem noted by Nick Hudson.

diffstat:

 dist/file/src/Makefile.in |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (48 lines):

diff -r a8709c8ceb43 -r 8209dd431cbc dist/file/src/Makefile.in
--- a/dist/file/src/Makefile.in Tue Mar 23 15:36:08 2004 +0000
+++ b/dist/file/src/Makefile.in Tue Mar 23 15:49:53 2004 +0000
@@ -220,7 +220,7 @@
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
        @$(NORMAL_INSTALL)
-       test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
+       test -z "$(libdir)" || $(mkinstalldirs) "$(DESTDIR)$(libdir)"
        @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
          if test -f $$p; then \
            f="`echo $$p | sed -e 's|^.*/||'`"; \
@@ -249,7 +249,7 @@
        $(LINK) -rpath $(libdir) $(libmagic_la_LDFLAGS) $(libmagic_la_OBJECTS) $(libmagic_la_LIBADD) $(LIBS)
 install-binPROGRAMS: $(bin_PROGRAMS)
        @$(NORMAL_INSTALL)
-       test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
+       test -z "$(bindir)" || $(mkinstalldirs) "$(DESTDIR)$(bindir)"
        @list='$(bin_PROGRAMS)'; for p in $$list; do \
          p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
          if test -f $$p \
@@ -333,7 +333,7 @@
 uninstall-info-am:
 install-includeHEADERS: $(include_HEADERS)
        @$(NORMAL_INSTALL)
-       test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)"
+       test -z "$(includedir)" || $(mkinstalldirs) "$(DESTDIR)$(includedir)"
        @list='$(include_HEADERS)'; for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          f="`echo $$p | sed -e 's|^.*/||'`"; \
@@ -407,7 +407,7 @@
          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
            dir="/$$dir"; \
-           $(mkdir_p) "$(distdir)$$dir"; \
+           $(mkinstalldirs) "$(distdir)$$dir"; \
          else \
            dir=''; \
          fi; \
@@ -429,7 +429,7 @@
 
 installdirs:
        for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(includedir)"; do \
-         test -z "$$dir" || $(mkdir_p) "$$dir"; \
+         test -z "$$dir" || $(mkinstalldirs) "$$dir"; \
        done
 install: install-am
 install-exec: install-exec-am



Home | Main Index | Thread Index | Old Index