fix build of miniupnpcstrings.h

This commit is contained in:
Thomas Bernard 2021-08-12 23:41:35 +02:00
parent 4975eeabe2
commit f1f3b6a5fc
No known key found for this signature in database
GPG Key ID: DB511043A31ACAAF
1 changed files with 2 additions and 1 deletions

View File

@ -283,7 +283,7 @@ cleaninstall:
$(RM) $(DESTDIR)$(INSTALLDIRLIB)/$(SHAREDLIBRARY) $(RM) $(DESTDIR)$(INSTALLDIRLIB)/$(SHAREDLIBRARY)
$(BUILD)/miniupnpc.pc: VERSION $(BUILD)/miniupnpc.pc: VERSION
@$(MKDIR) $(BUILD) @$(MKDIR) $(@D)
$(RM) $@ $(RM) $@
echo "prefix=$(INSTALLPREFIX)" >> $@ echo "prefix=$(INSTALLPREFIX)" >> $@
echo "exec_prefix=\$${prefix}" >> $@ echo "exec_prefix=\$${prefix}" >> $@
@ -345,6 +345,7 @@ $(BUILD)/testportlistingparse: $(TESTPORTLISTINGPARSE)
$(BUILD)/testaddr_is_reserved: $(TESTADDR_IS_RESERVED) $(BUILD)/testaddr_is_reserved: $(TESTADDR_IS_RESERVED)
$(BUILD)/miniupnpcstrings.h: miniupnpcstrings.h.in updateminiupnpcstrings.sh VERSION $(BUILD)/miniupnpcstrings.h: miniupnpcstrings.h.in updateminiupnpcstrings.sh VERSION
@$(MKDIR) $(@D)
$(SH) updateminiupnpcstrings.sh $@ $< $(SH) updateminiupnpcstrings.sh $@ $<
# ftp tool supplied with OpenBSD can download files from http. # ftp tool supplied with OpenBSD can download files from http.