Skip to content
Snippets Groups Projects
Commit d4cf5a1f authored by Albert Gräf's avatar Albert Gräf
Browse files

Fix up inno setup file on the fly for incremental builds.

parent f213c3dc
No related branches found
No related tags found
No related merge requests found
......@@ -153,6 +153,9 @@ $(PD_INNO_SETUP): $(PD_INNO_SETUP).in
sed 's/PD_VERSION/$(PD_VERSION)/g' | \
sed 's/PD_BUILD_VERSION/$(PD_BUILD_VERSION)/g' > \
$(PD_INNO_SETUP)
# in incremental builds the lib directory may not exist, in that case we need
# to edit the setup file to prevent an inno-setup error
test -d $(DESTDIR)$(libdir) || sed -i -e 's/^Source: build\\lib/;Source: build\\lib/' $(PD_INNO_SETUP)
# start $(PD_INNO_SETUP)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment