1 bin_PROGRAMS = wall-notify
3 # Provide current Git commit id as macro.
4 AM_CPPFLAGS = -DGIT_VERSION="\"`cat $(srcdir)/git_version`\""
5 wall-notify.$(OBJEXT): $(srcdir)/git_version
7 $(srcdir)/git_version: $(SOURCES)
8 test -d $(top_srcdir)/.git && git describe --always >$@ || :>$@
10 rm -f $(srcdir)/git_version