3 -I$(top_srcdir)/include \
5 -include $(top_builddir)/enigma2_config.h
12 CLEANFILES = version.h
18 # when there is no ../CVS/Entries, don't worry.
26 @if [ ! -f entries ]; then touch entries; fi
27 @if [ -f .svn/entries ] && ! diff -q entries .svn/entries 2>/dev/null; then \
28 cp --no-preserve=mode .svn/entries entries; \
33 @if [ -d .svn ]; then \
34 echo "#define ENIGMA2_LAST_CHANGE_DATE \"`LANG="en" svn info | grep 'Last Changed Date:' | cut -d' ' -f4`\"" >> version.h; \
35 elif [ -d ../.git ]; then \
36 if [ -f ../.git/last_commit_info ]; then \
37 echo "#define ENIGMA2_LAST_CHANGE_DATE \"`cat ../.git/last_commit_info | grep 'Date:' | cut -d' ' -f4`\"" >> version.h; \
38 echo "#define ENIGMA2_BRANCH \"`cat ../.git/branch`\"" >> version.h; \
40 echo "#define ENIGMA2_LAST_CHANGE_DATE \"`LANG="en" git log --max-count=1 --date=short | grep 'Date:' | cut -d' ' -f4`\"" >> version.h; \
41 echo "#define ENIGMA2_BRANCH \"`LANG="en" git branch | grep '* ' | cut -d' ' -f2`\"" >> version.h; \
46 $(top_builddir)/lib/libenigma.la \