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