mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
Avoided warning message about non-existent maint/version.sh file
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
parent
6ac6a55301
commit
034633a3c9
@ -23,7 +23,10 @@ update-version:
|
|||||||
@if test -x $(top_srcdir)/maint/version.sh; then \
|
@if test -x $(top_srcdir)/maint/version.sh; then \
|
||||||
$(top_srcdir)/maint/version.sh "$(top_srcdir)" 2>&1 >/dev/null; \
|
$(top_srcdir)/maint/version.sh "$(top_srcdir)" 2>&1 >/dev/null; \
|
||||||
else \
|
else \
|
||||||
|
if test ! -e $(top_srcdir)/version.h; then \
|
||||||
echo "File not found: $(top_srcdir)/maint/version.sh"; \
|
echo "File not found: $(top_srcdir)/maint/version.sh"; \
|
||||||
|
exit 1; \
|
||||||
|
fi; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
$(top_srcdir)/version.h: update-version
|
$(top_srcdir)/version.h: update-version
|
||||||
|
Loading…
Reference in New Issue
Block a user