git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2c83d31
)
generate empty version.h if .git is not available
author
Andreas Oberritter
<obi@opendreambox.org>
Sun, 5 Dec 2010 02:59:12 +0000
(
03:59
+0100)
committer
Andreas Oberritter
<obi@opendreambox.org>
Sun, 5 Dec 2010 02:59:12 +0000
(
03:59
+0100)
main/Makefile.am
patch
|
blob
|
history
diff --git
a/main/Makefile.am
b/main/Makefile.am
index 0ed4d7176f7f43d3d20306209dbeaf00f1a87dfe..137ddabcc55960fa4c0cc1c3d6565f972f966ac8 100644
(file)
--- a/
main/Makefile.am
+++ b/
main/Makefile.am
@@
-74,6
+74,9
@@
version-intermediate.h:
$(AM_V_at)[ -n "$(ENIGMA2_BRANCH)" ] && echo "#define ENIGMA2_BRANCH \"$(ENIGMA2_BRANCH)\"" >> $@
-$(AM_V_at)[ -n "$(ENIGMA2_REV)" ] && echo "#define ENIGMA2_REV \"$(ENIGMA2_REV)\"" >> $@
$(AM_V_at)([ -f version.h ] && diff -q version.h $@ >/dev/null) || $(INSTALL_HEADER) $@ version.h
+else
+version.h:
+ $(AM_V_GEN)touch $@
endif
enigma2$(EXEEXT): $(enigma2_OBJECTS) $(enigma2_DEPENDENCIES) $(enigma2_LDADD_WHOLE)