Manual updates.
[terminatorX.git] / Makefile.am
1 AUTOMAKE_OPTIONS = foreign 
2 SUBDIRS = src icons help 
3 EXTRA_DIST = COPYING-DOCS\
4         README.PERFORMANCE\
5         terminatorX.spec.in\
6         gnome-doc-utils.make\
7         terminatorX.desktop\
8         autogen.sh\
9         terminatorX.mime
10
11 DISTCLEANFILES = gnome-doc-utils.make
12
13 # Destkop Entry
14 desktopdir = $(datadir)/applications
15 desktop_DATA = terminatorX.desktop
16
17 mimedir = $(datadir)/mime-info
18 mime_DATA = terminatorX.mime terminatorX.keys
19
20 man_MANS = terminatorX.1
21
22 dist-hook:
23         @if test -d "$(top_srcdir)/.git"; then \
24                 echo ' GEN ChangeLog'; \
25                 ( cd "$(top_srcdir)" && \
26                 echo '# Generated by Makefile. Do not edit.' && echo && \
27                 git log --stat ) > ChangeLog.tmp \
28                 && mv -f ChangeLog.tmp "$(distdir)/ChangeLog" \
29                 || ( rm -f ChangeLog.tmp ; \
30                 echo 'Failed to generate ChangeLog' >&2 ); \
31         else \
32                 echo 'A git clone is required to generate a ChangeLog' >&2; \
33         fi