Update NEWS for 0.3.1
[nomnom.git] / Makefile.am
blob6e004c032385aa471442d3313d9d74038878a4fc
1 ACLOCAL_AMFLAGS=-I m4
3 EXTRA_DIST=\
4  nomnom.desktop.in \
5  README.packagers \
6  nomnom.xpm \
7  gen-ver.sh \
8  gen-tr.sh \
9  VERSION
11 desktopdir=     $(datarootdir)/applications
12 desktop_DATA=   nomnom.desktop
14 pixmapdir=      $(datarootdir)/pixmaps
15 pixmap_DATA=    nomnom.xpm
17 SUBDIRS=        src
18 if HAVE_LRELEASE
19 SUBDIRS+=       tr
20 endif
21 if WITH_MANUAL
22 SUBDIRS+=       doc
23 endif
25 .PHONY: ChangeLog VERSION
27 VERSION:
28         @if test -d "$(top_srcdir)/.git" -o -f "$(top_srcdir)/.git"; then \
29                 "$(top_srcdir)/gen-ver.sh" "$(top_srcdir)" > $@; \
30         fi
32 ChangeLog:
33         @if test -d "$(top_srcdir)/.git" -o -f "$(top_srcdir)/.git"; then \
34                 git log --stat --name-only --date=short --abbrev-commit > $@; \
35         fi
37 dist-hook: ChangeLog VERSION