2012-01-27 17:51:36 +04:00
NULL =
2007-07-20 23:26:08 +04:00
2010-01-11 19:01:20 +03:00
ACLOCAL_AMFLAGS = -I m4
2007-07-20 23:26:08 +04:00
2016-03-14 12:52:03 +03:00
SUBDIRS = icons src man po data tests
2007-07-20 23:26:08 +04:00
2013-12-18 20:19:03 +04:00
AM_DISTCHECK_CONFIGURE_FLAGS = --disable-update-mimedb
2012-01-27 17:51:36 +04:00
EXTRA_DIST = \
2016-08-10 17:17:07 +03:00
$( PACKAGE) .spec $( PACKAGE) .spec.in \
mingw-$( PACKAGE) .spec.in \
2012-01-27 17:51:36 +04:00
intltool-extract.in \
intltool-merge.in \
intltool-update.in \
2012-02-01 18:46:53 +04:00
GNUmakefile \
maint.mk \
cfg.mk \
build-aux/gitlog-to-changelog \
build-aux/useless-if-before-free \
build-aux/vc-list-files \
2013-02-13 18:26:16 +04:00
AUTHORS.in \
2017-02-07 18:31:42 +03:00
README.md \
2012-01-27 17:51:36 +04:00
$( NULL)
2010-01-11 19:01:20 +03:00
2012-01-27 17:51:36 +04:00
DISTCLEAN_FILES = \
2012-01-31 19:34:51 +04:00
$( PACKAGE) .spec \
2015-04-15 12:17:00 +03:00
mingw-$( PACKAGE) .spec \
2012-01-27 17:51:36 +04:00
intltool-extract \
intltool-merge \
intltool-update \
$( NULL)
2010-01-11 19:01:20 +03:00
2012-01-27 17:51:36 +04:00
MAINTAINERCLEANFILES = \
2015-11-04 16:59:45 +03:00
$( srcdir) /AUTHORS \
2012-03-30 04:43:26 +04:00
$( srcdir) /INSTALL \
2015-11-04 16:59:45 +03:00
$( GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL) \
$( GITIGNORE_MAINTAINERCLEANFILES_M4_LIBTOOL) \
2012-03-30 04:43:26 +04:00
$( srcdir) /m4/intltool.m4 \
2012-01-27 17:51:36 +04:00
$( NULL)
2011-11-07 16:42:15 +04:00
2013-02-13 18:26:16 +04:00
dist-hook : gen -ChangeLog gen -AUTHORS
2011-11-07 16:42:15 +04:00
# Generate the ChangeLog file (with all entries since the switch to git)
# and insert it into the directory we're about to use to create a tarball.
2013-02-13 19:15:46 +04:00
i f O S _ W I N 3 2
2016-04-26 15:01:03 +03:00
.PHONY : gen -ChangeLog gen -AUTHORS msi
2013-02-13 19:15:46 +04:00
e l s e
2013-02-13 18:26:16 +04:00
.PHONY : gen -ChangeLog gen -AUTHORS
2013-02-13 19:15:46 +04:00
e n d i f
2011-11-07 16:42:15 +04:00
gen-ChangeLog :
if test -d .git || test -d ../.git; then \
$( top_srcdir) /build-aux/gitlog-to-changelog \
> $( distdir) /cl-t; \
rm -f $( distdir) /ChangeLog; \
mv $( distdir) /cl-t $( distdir) /ChangeLog; \
fi
2012-03-30 04:43:26 +04:00
2013-02-13 18:26:16 +04:00
gen-AUTHORS :
$( AM_V_GEN) if test -d $( srcdir) /.git; then \
out = " `cd $( srcdir) && git log --pretty=format:'%aN <%aE>' | sort -u` " && \
perl -p -e " s/#authorslist#// and print ' $$ out' " \
< $( srcdir) /AUTHORS.in > $( distdir) /AUTHORS-tmp && \
mv -f $( distdir) /AUTHORS-tmp $( distdir) /AUTHORS ; \
fi
2012-06-05 23:30:18 +04:00
i f O S _ W I N 3 2
2016-04-26 15:01:03 +03:00
.PHONY : msi
msi :
make -C $( builddir) /data msi
2012-06-05 23:30:18 +04:00
e n d i f
2013-04-03 16:02:01 +04:00
# this make sure those files are regenerated when they change
# (in maintainer-mode)
all-local : virt -viewer .spec mingw -virt -viewer .spec
2012-03-30 04:43:26 +04:00
- i n c l u d e $( top_srcdir ) / g i t . m k