1## Run automake on this file to produce Makefile.in
2
3# Fig2dev: Translate Fig code to various Devices
4# Parts Copyright (c) 2015-2017 by Thomas Loimer
5#
6# Any party obtaining a copy of these files is granted, free of charge, a
7# full and unrestricted irrevocable, world-wide, paid up, royalty-free,
8# nonexclusive right and license to deal in this software and documentation
9# files (the "Software"), including without limitation the rights to use,
10# copy, modify, merge, publish, distribute, sublicense and/or sell copies
11# of the Software, and to permit persons who receive copies from any such
12# party to do so, with the only requirement being that the above copyright
13# and this permission notice remain intact.
14
15# Makefile.am
16# Author: Thomas Loimer, 2015-2017.
17
18
19ACLOCAL_AMFLAGS = -I m4
20
21SUBDIRS = fig2dev man
22if ENABLE_TRANSFIG
23SUBDIRS += transfig
24endif
25
26EXTRA_DIST = CHANGES NOTES update-version_m4
27
28MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.h.in configure
29
30if ENABLE_VERSIONING
31# The generated Makefile lets configure and config.h.in depend on configure.ac,
32# and on all .m4 files. If configure.ac is changed, configure is re-created,
33# then config.h, probably only after version.m4 is updated, and configure
34# is again recreated and run. Only a nuisance, though.
35version.m4: configure.ac Makefile.am \
36	fig2dev/*.c fig2dev/*.h fig2dev/dev/*.c fig2dev/dev/*.h
37	. ./update-version_m4
38endif
39