mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-12 10:04:14 +02:00
Disconnect help.auto.c from build-help in Makefile.
When there was an issue with the system library path during building, the build-help rule would fail during executing ./build-help with the effect that main.c wouldn't build. Break out help.auto.c generation from the build-help stage to allow it to be re-executed when the library path has been corrected.
This commit is contained in:
parent
67bdf07e69
commit
f798458e1d
@ -125,6 +125,17 @@
|
||||
</release-improvement-list>
|
||||
|
||||
<release-development-list>
|
||||
<release-item>
|
||||
<github-pull-request id="1672"/>
|
||||
|
||||
<release-item-contributor-list>
|
||||
<release-item-ideator id="daniel.gustafsson"/>
|
||||
<release-item-contributor id="david.steele"/>
|
||||
</release-item-contributor-list>
|
||||
|
||||
<p>Disconnect <file>help.auto.c</file> from <id>build-help</id> in <file>Makefile</file>.</p>
|
||||
</release-item>
|
||||
|
||||
<release-item>
|
||||
<commit subject="Add read range to all storage drivers."/>
|
||||
<commit subject="Implement restore ownership without updating manifest internals."/>
|
||||
|
@ -249,6 +249,8 @@ OBJS_BUILD_HELP = $(patsubst %.c,$(BUILDDIR)/%.o,$(SRCS_BUILD) $(SRCS_BUILD_HELP
|
||||
|
||||
build-help: $(OBJS_BUILD_HELP) build/config/config.yaml build/help/help.xml
|
||||
$(CC) -o build-help $(OBJS_BUILD_HELP) $(LDFLAGS) $(LIBS) $(LIBS_BUILD)
|
||||
|
||||
command/help/help.auto.c: build-help
|
||||
./build-help $(VPATH)
|
||||
|
||||
####################################################################################################################################
|
||||
@ -284,7 +286,7 @@ clean-all: clean
|
||||
# Special per-object flags
|
||||
####################################################################################################################################
|
||||
$(BUILDDIR)/postgres/interface/page.o: CFLAGS += @CFLAGS_PAGE_CHECKSUM@
|
||||
$(BUILDDIR)/main.o: build-help
|
||||
$(BUILDDIR)/main.o: command/help/help.auto.c
|
||||
|
||||
####################################################################################################################################
|
||||
# Compile and generate dependencies
|
||||
|
Loading…
Reference in New Issue
Block a user