Makefile.am 1.7 KB
Newer Older
Keith Packard's avatar
Keith Packard committed
1
# 
Behdad Esfahbod's avatar
Behdad Esfahbod committed
2
#  fontconfig/fc-match/Makefile.am
Keith Packard's avatar
Keith Packard committed
3
# 
4
#  Copyright © 2003 Keith Packard
Keith Packard's avatar
Keith Packard committed
5 6 7 8 9
# 
#  Permission to use, copy, modify, distribute, and sell this software and its
#  documentation for any purpose is hereby granted without fee, provided that
#  the above copyright notice appear in all copies and that both that
#  copyright notice and this permission notice appear in supporting
10
#  documentation, and that the name of the author(s) not be used in
Keith Packard's avatar
Keith Packard committed
11
#  advertising or publicity pertaining to distribution of the software without
12
#  specific, written prior permission.  The authors make no
Keith Packard's avatar
Keith Packard committed
13 14 15
#  representations about the suitability of this software for any purpose.  It
#  is provided "as is" without express or implied warranty.
# 
16
#  THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
Keith Packard's avatar
Keith Packard committed
17
#  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
18
#  EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
Keith Packard's avatar
Keith Packard committed
19 20 21 22 23 24 25
#  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
#  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
#  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
#  PERFORMANCE OF THIS SOFTWARE.

bin_PROGRAMS=fc-match

26 27 28 29 30
DOC2MAN = docbook2man

FC_MATCH_SRC=${top_srcdir}/fc-match

SGML = ${FC_MATCH_SRC}/fc-match.sgml
Keith Packard's avatar
Keith Packard committed
31

32
AM_CPPFLAGS=-I${top_srcdir} $(WARN_CFLAGS)
Keith Packard's avatar
Keith Packard committed
33

34
BUILT_MANS=fc-match.1
35

36 37 38 39 40
if ENABLE_DOCS
man_MANS=${BUILT_MANS}
endif

EXTRA_DIST=fc-match.sgml $(BUILT_MANS)
Keith Packard's avatar
Keith Packard committed
41

42 43
CLEANFILES =

44
fc_match_LDADD = ${top_builddir}/src/libfontconfig.la
45 46 47 48

if USEDOCBOOK

${man_MANS}: ${SGML}
49 50
	$(AM_V_GEN) $(RM) $@; \
	$(DOC2MAN) ${SGML}; \
51
	$(RM) manpage.*
52 53 54

all-local: $(man_MANS)

55
CLEANFILES += ${man_MANS}
56 57 58
else
all-local:
endif
59 60

-include $(top_srcdir)/git.mk