view Makefile.am @ 2901:ce889887354f

Avoid non-portable == for the test command The test command doesn't accept `==` as operator. It should be a single `=` for portable use. The `==` is a gnu extension. Note that the x-trick hasn't been needed for a long, long time. You can reliably write it with quotes: ``` if test "$gtk3" = yes; then ``` but I left that alone since it doesn't hurt other than being ugly.
author Rhialto The M <Rhialto@users.noreply.github.com>
date Sat, 06 Oct 2018 18:26:43 +0200
parents 48333f45a526
children
line wrap: on
line source

## Process this file with automake to produce Makefile.in.

include $(top_srcdir)/aminclude.am

SUBDIRS = src po doc plugins
DIST_SUBDIRS = src po doc plugins

man_MANS = geeqie.1

readmedir = @readmedir@

if HAVE_MARKDOWN
readme_DATA = README.md COPYING ChangeLog TODO README.lirc AUTHORS README.html ChangeLog.html
else
readme_DATA = README.md COPYING ChangeLog TODO README.lirc AUTHORS ChangeLog.html
endif

desktopdir = $(datadir)/applications
desktop_in_files = geeqie.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@

icondir = $(datadir)/pixmaps
icon_DATA = geeqie.png

EXTRA_DIST = \
	$(readme_DATA)	\
	$(desktop_in_files)	\
	$(icon_DATA)	\
	geeqie.spec.in	\
	geeqie.1	\
	doxygen.conf

dist-hook: geeqie.spec
	cp $(top_builddir)/geeqie.spec $(distdir)

DISTCLEANFILES = config.report
CLEANFILES = $(desktop_DATA) ChangeLog.html

.PHONY: ChangeLog
ChangeLog.html:
	./gen_changelog.sh

README.html: README.md
	./gen_readme.sh