diff options
Diffstat (limited to 'utils/cec-follower/Makefile.am')
-rw-r--r-- | utils/cec-follower/Makefile.am | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/utils/cec-follower/Makefile.am b/utils/cec-follower/Makefile.am index 96e0f890..1108708b 100644 --- a/utils/cec-follower/Makefile.am +++ b/utils/cec-follower/Makefile.am @@ -2,20 +2,7 @@ bin_PROGRAMS = cec-follower man_MANS = cec-follower.1 cec_follower_SOURCES = cec-follower.cpp cec-follower.h cec-processing.cpp cec-tuner.cpp -cec_follower_CPPFLAGS = -I$(top_srcdir)/utils/libcecutil $(GIT_COMMIT_CNT) +cec_follower_CPPFLAGS = -I$(top_srcdir)/utils/libcecutil $(GIT_SHA) $(GIT_COMMIT_CNT) cec_follower_LDADD = -lrt ../libcecutil/libcecutil.la -cec-follower.cpp: version.h - -version.h: - @if [ -d $(top_srcdir)/.git ]; then \ - echo -n "#define SHA " >$@ ; \ - git -C $(top_srcdir) rev-parse HEAD >>$@ ; \ - else \ - touch $@ ; \ - fi - -clean-local: - -rm -vf version.h - EXTRA_DIST = cec-follower.1 |