Pretty colors everywhere!
[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         terminatorX.appdata.xml\
7         gnome-doc-utils.make\
8         terminatorX.desktop\
9         autogen.sh\
10         terminatorX.mime
11
12 DISTCLEANFILES = gnome-doc-utils.make
13
14 # Destkop Entry
15 desktopdir = $(datadir)/applications
16 desktop_DATA = terminatorX.desktop
17
18 appdatadir = $(datarootdir)/appdata
19 appdata_DATA = terminatorX.appdata.xml 
20
21 mimedir = $(datadir)/mime-info
22 mime_DATA = terminatorX.mime terminatorX.keys
23
24 man_MANS = terminatorX.1
25
26 dist-hook:
27         @if test -d "$(top_srcdir)/.git"; then \
28                 echo ' GEN ChangeLog'; \
29                 ( cd "$(top_srcdir)" && \
30                 echo '# Generated by Makefile. Do not edit.' && echo && \
31                 git log --stat ) > ChangeLog.tmp \
32                 && mv -f ChangeLog.tmp "$(distdir)/ChangeLog" \
33                 || ( rm -f ChangeLog.tmp ; \
34                 echo 'Failed to generate ChangeLog' >&2 ); \
35         else \
36                 echo 'A git clone is required to generate a ChangeLog' >&2; \
37         fi