From f1f3b6a5fc770bd3862801a80619bd478a77794f Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Thu, 12 Aug 2021 23:41:35 +0200 Subject: [PATCH] fix build of miniupnpcstrings.h --- miniupnpc/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/miniupnpc/Makefile b/miniupnpc/Makefile index 654bf59..4392ce6 100644 --- a/miniupnpc/Makefile +++ b/miniupnpc/Makefile @@ -283,7 +283,7 @@ cleaninstall: $(RM) $(DESTDIR)$(INSTALLDIRLIB)/$(SHAREDLIBRARY) $(BUILD)/miniupnpc.pc: VERSION - @$(MKDIR) $(BUILD) + @$(MKDIR) $(@D) $(RM) $@ echo "prefix=$(INSTALLPREFIX)" >> $@ echo "exec_prefix=\$${prefix}" >> $@ @@ -345,6 +345,7 @@ $(BUILD)/testportlistingparse: $(TESTPORTLISTINGPARSE) $(BUILD)/testaddr_is_reserved: $(TESTADDR_IS_RESERVED) $(BUILD)/miniupnpcstrings.h: miniupnpcstrings.h.in updateminiupnpcstrings.sh VERSION + @$(MKDIR) $(@D) $(SH) updateminiupnpcstrings.sh $@ $< # ftp tool supplied with OpenBSD can download files from http.