# HG changeset patch # User Mike Becker # Date 1764510039 -3600 # Node ID a145f47cc0a762dd30917da5ca8074a758a5964c # Parent 6a687a7caed8963383f09ceb270f253159b262c7 fix that mkdir -p needs a trailing slash on some platforms diff -r 6a687a7caed8 -r a145f47cc0a7 make/makefile.mk --- a/make/makefile.mk Sun Nov 30 14:33:19 2025 +0100 +++ b/make/makefile.mk Sun Nov 30 14:40:39 2025 +0100 @@ -24,7 +24,7 @@ include config.mk dist: FORCE - $(MKDIR) $(dist_dir)/libucx + $(MKDIR) $(dist_dir)/libucx/ $(COPYALL) CHANGELOG configure COPYING Doxyfile Makefile README \ uaplogo.png make msvc src tests $(dist_dir)/libucx/ @cd $(dist_dir) && tar -czf ucx-$(VERSION).tar.gz -Hustar libucx @@ -40,7 +40,7 @@ compile: static shared $(build_dir): - $(MKDIR) $@ + $(MKDIR) $@/ shared: $(build_dir) FORCE @cd src && $(MAKE) OBJ_EXT=.shared.o \ diff -r 6a687a7caed8 -r a145f47cc0a7 src/Makefile --- a/src/Makefile Sun Nov 30 14:33:19 2025 +0100 +++ b/src/Makefile Sun Nov 30 14:40:39 2025 +0100 @@ -42,7 +42,7 @@ $(build_dir) $(build_dir)/coverage: - $(MKDIR) $@ + $(MKDIR) $@/ $(build_dir)/%.gcda: test -f "$@" @@ -58,7 +58,7 @@ then : ; else cd $(root_dir); $(MAKE) compile; fi install: rebuild_if_missing - $(MKDIR) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)/cx $(DESTDIR)$(libdir)/pkgconfig + $(MKDIR) $(DESTDIR)$(libdir)/ $(DESTDIR)$(includedir)/cx/ $(DESTDIR)$(pkgconfigdir)/ $(RMFILE) $(DESTDIR)$(libdir)/libucx$(SHLIB_EXT).$(LIBVERSION_MAJOR) $(RMFILE) $(DESTDIR)$(libdir)/libucx$(SHLIB_EXT) $(COPYFILE) $(build_dir)/libucx_static$(STLIB_EXT) $(DESTDIR)$(libdir)/libucx_static$(STLIB_EXT) diff -r 6a687a7caed8 -r a145f47cc0a7 tests/Makefile --- a/tests/Makefile Sun Nov 30 14:33:19 2025 +0100 +++ b/tests/Makefile Sun Nov 30 14:40:39 2025 +0100 @@ -49,7 +49,7 @@ test -f "$@" $(TEST_DIR): - $(MKDIR) $@ + $(MKDIR) $@/ FORCE: