Makefile.am 1.83 KB
Newer Older
Keith Packard's avatar
Keith Packard committed
1
# 
Behdad Esfahbod's avatar
Behdad Esfahbod committed
2
#  fontconfig/fc-cache/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
#  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.

24
DOC2MAN = docbook2man
25 26 27 28

FC_CACHE_SRC=${top_srcdir}/fc-cache

SGML = ${FC_CACHE_SRC}/fc-cache.sgml
29

30 31
if OS_WIN32
else
32
install-data-local:
33
	-$(mkinstalldirs) "$(DESTDIR)$(fc_cachedir)"
34

35
uninstall-local:
36
	-$(RM) -rf "$(DESTDIR)$(fc_cachedir)"
37
endif
Patrick Lam's avatar
Patrick Lam committed
38

39
INCLUDES=-I${top_srcdir} -I${top_srcdir}/src $(WARN_CFLAGS)
Keith Packard's avatar
Keith Packard committed
40 41 42

bin_PROGRAMS=fc-cache

43
BUILT_MANS=fc-cache.1
44

45 46 47 48 49
if ENABLE_DOCS
man_MANS=${BUILT_MANS}
endif

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

51 52
CLEANFILES =

53
fc_cache_LDADD = ${top_builddir}/src/libfontconfig.la
54 55

if USEDOCBOOK
56

57
${man_MANS}: ${SGML}	
58 59
	$(AM_V_GEN) $(RM) $@; \
	$(DOC2MAN) ${SGML}; \
60
	$(RM) manpage.*
61

62
all-local: $(man_MANS)
63

64
CLEANFILES += ${man_MANS}
65 66 67
else
all-local:
endif