1a6844aabSmrg#
2a6844aabSmrg#  fontconfig/fc-query/Makefile.am
3a6844aabSmrg#
4a6844aabSmrg#  Copyright © 2003 Keith Packard
5a6844aabSmrg#
6a6844aabSmrg#  Permission to use, copy, modify, distribute, and sell this software and its
7a6844aabSmrg#  documentation for any purpose is hereby granted without fee, provided that
8a6844aabSmrg#  the above copyright notice appear in all copies and that both that
9a6844aabSmrg#  copyright notice and this permission notice appear in supporting
10ca08ab68Smrg#  documentation, and that the name of the author(s) not be used in
11a6844aabSmrg#  advertising or publicity pertaining to distribution of the software without
12ca08ab68Smrg#  specific, written prior permission.  The authors make no
13a6844aabSmrg#  representations about the suitability of this software for any purpose.  It
14a6844aabSmrg#  is provided "as is" without express or implied warranty.
15a6844aabSmrg#
16a6844aabSmrg#  THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
17a6844aabSmrg#  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
18a6844aabSmrg#  EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
19a6844aabSmrg#  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
20a6844aabSmrg#  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
21a6844aabSmrg#  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
22a6844aabSmrg#  PERFORMANCE OF THIS SOFTWARE.
23a6844aabSmrg
24a6844aabSmrgbin_PROGRAMS=fc-query
25a6844aabSmrg
26a6844aabSmrgDOC2MAN = docbook2man
27a6844aabSmrg
28a6844aabSmrgFC_QUERY_SRC=${top_srcdir}/fc-query
29a6844aabSmrg
30a6844aabSmrgSGML = ${FC_QUERY_SRC}/fc-query.sgml
31a6844aabSmrg
32c9710b42SmrgAM_CPPFLAGS=-I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
33a6844aabSmrg
34a6844aabSmrgBUILT_MANS=fc-query.1
35a6844aabSmrg
36a6844aabSmrgif ENABLE_DOCS
37a6844aabSmrgman_MANS=${BUILT_MANS}
38a6844aabSmrgendif
39a6844aabSmrg
40a6844aabSmrgEXTRA_DIST=fc-query.sgml $(BUILT_MANS)
41a6844aabSmrg
42ca08ab68SmrgCLEANFILES =
43ca08ab68Smrg
44a6844aabSmrgfc_query_LDADD = ${top_builddir}/src/libfontconfig.la
45a6844aabSmrg
46a6844aabSmrgif USEDOCBOOK
47a6844aabSmrg
48a6844aabSmrg${man_MANS}: ${SGML}
49ca08ab68Smrg	$(AM_V_GEN) $(RM) $@; \
50ca08ab68Smrg	$(DOC2MAN) ${SGML}; \
51a6844aabSmrg	$(RM) manpage.*
52a6844aabSmrg
53a6844aabSmrgall-local: $(man_MANS)
54a6844aabSmrg
55ca08ab68SmrgCLEANFILES += ${man_MANS}
56a6844aabSmrgelse
57a6844aabSmrgall-local:
58a6844aabSmrgendif
59c9710b42Smrg
60c9710b42Smrg-include $(top_srcdir)/git.mk
61