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

Fix up git_version target in Windows Makefile.

parent 748b8c78
No related branches found
No related tags found
No related merge requests found
...@@ -43,8 +43,9 @@ endif ...@@ -43,8 +43,9 @@ endif
@echo "win32_inno install succeeded!" @echo "win32_inno install succeeded!"
git_version: $(pd_src)/src/s_stuff.h.in git_version: $(pd_src)/src/s_stuff.h.in
cd $(pd_src)/src/ && \ @cd $(pd_src)/src/ && \
sed 's|^\(#define PD_BUILD_VERSION "\).*"|\1$(PD_BUILD_VERSION)"|' s_stuff.h.in > s_stuff.h sed 's|^\(#define PD_BUILD_VERSION "\).*"|\1$(PD_BUILD_VERSION)"|' s_stuff.h.in > s_stuff.h.new && \
(test -f s_stuff.h && diff -q s_stuff.h s_stuff.h.new > /dev/null && rm -f s_stuff.h.new && echo s_stuff.h unchanged || (rm -f s_stuff.h && mv s_stuff.h.new s_stuff.h))
build_pd: git_version build_pd: git_version
cd $(pd_src)/src && $(MAKE) -f makefile.mingw cd $(pd_src)/src && $(MAKE) -f makefile.mingw
......
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