Preparing stable version
[geeqie.git] / Makefile.am
1 ## Process this file with automake to produce Makefile.in.
2
3 include $(top_srcdir)/aminclude.am
4
5 SUBDIRS = src po doc plugins
6 DIST_SUBDIRS = src po doc plugins
7
8 man_MANS = geeqie.1
9
10 readmedir = @readmedir@
11
12 if HAVE_MARKDOWN
13 readme_DATA = README.md COPYING ChangeLog TODO README.lirc AUTHORS README.html ChangeLog.html
14 else
15 readme_DATA = README.md COPYING ChangeLog TODO README.lirc AUTHORS ChangeLog.html
16 endif
17
18 desktopdir = $(datadir)/applications
19 desktop_in_files = geeqie.desktop.in
20 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
21 @INTLTOOL_DESKTOP_RULE@
22
23 icondir = $(datadir)/pixmaps
24 icon_DATA = geeqie.png
25
26 EXTRA_DIST = \
27         $(readme_DATA)  \
28         $(desktop_DATA) \
29         $(desktop_in_files)     \
30         $(icon_DATA)    \
31         geeqie.spec.in  \
32         geeqie.1        \
33         doxygen.conf
34
35 dist-hook: geeqie.spec
36         cp $(top_builddir)/geeqie.spec $(distdir)
37
38 DISTCLEANFILES = config.report
39
40 .PHONY: ChangeLog
41 ChangeLog.html:
42         ./gen_changelog.sh
43
44 README.html: README.md
45         ./gen_readme.sh