2003-02-24 18:18:50 +01:00
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
#
|
2004-12-07 02:14:46 +01:00
|
|
|
# Copyright © 2003 Keith Packard
|
2003-02-24 18:18:50 +01:00
|
|
|
#
|
|
|
|
# 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
|
|
|
|
# documentation, and that the name of Keith Packard not be used in
|
|
|
|
# advertising or publicity pertaining to distribution of the software without
|
|
|
|
# specific, written prior permission. Keith Packard makes no
|
|
|
|
# representations about the suitability of this software for any purpose. It
|
|
|
|
# is provided "as is" without express or implied warranty.
|
|
|
|
#
|
|
|
|
# KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
|
|
|
|
# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
|
|
|
|
# EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
|
|
|
|
# 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.
|
|
|
|
|
2003-10-09 20:21:49 +02:00
|
|
|
DOC2MAN = docbook2man
|
2003-10-27 07:30:29 +01:00
|
|
|
|
|
|
|
FC_CACHE_SRC=${top_srcdir}/fc-cache
|
|
|
|
|
|
|
|
SGML = ${FC_CACHE_SRC}/fc-cache.sgml
|
2003-10-09 20:21:49 +02:00
|
|
|
|
2005-12-09 17:36:45 +01:00
|
|
|
AM_CPPFLAGS = -DPKGCACHEDIR='"${pkgcachedir}"'
|
|
|
|
|
2005-12-12 14:46:45 +01:00
|
|
|
pkgcache_DATA=stamp
|
|
|
|
|
2005-12-21 04:31:19 +01:00
|
|
|
uninstall-pkgcacheDATA:
|
|
|
|
@$(NORMAL_UNINSTALL)
|
|
|
|
echo " $(RM) -rf '$(DESTDIR)$(pkgcachedir)'"; \
|
|
|
|
$(RM) -rf "$(DESTDIR)$(pkgcachedir)"
|
|
|
|
|
|
|
|
clean-generic:
|
|
|
|
$(RM) stamp
|
|
|
|
|
2005-12-12 14:46:45 +01:00
|
|
|
stamp:
|
|
|
|
touch $@
|
|
|
|
|
2003-10-27 11:44:13 +01:00
|
|
|
INCLUDES=-I${top_srcdir} $(FREETYPE_CFLAGS)
|
2003-02-24 18:18:50 +01:00
|
|
|
|
|
|
|
bin_PROGRAMS=fc-cache
|
|
|
|
|
2003-10-09 20:21:49 +02:00
|
|
|
EXTRA_DIST=$(SGML)
|
2003-03-07 21:04:13 +01:00
|
|
|
|
2003-10-27 07:30:29 +01:00
|
|
|
fc_cache_LDADD = ${top_builddir}/src/libfontconfig.la
|
2003-10-09 20:21:49 +02:00
|
|
|
|
|
|
|
if USEDOCBOOK
|
2003-12-11 20:30:07 +01:00
|
|
|
|
|
|
|
man_MANS=fc-cache.1
|
|
|
|
|
2003-12-12 18:07:55 +01:00
|
|
|
${man_MANS}: ${SGML}
|
2003-10-09 20:21:49 +02:00
|
|
|
$(RM) $@
|
2003-10-27 07:30:29 +01:00
|
|
|
$(DOC2MAN) ${SGML}
|
2003-10-09 20:21:49 +02:00
|
|
|
$(RM) manpage.refs manpage.links
|
2003-12-12 18:07:55 +01:00
|
|
|
|
2003-10-09 20:21:49 +02:00
|
|
|
all-local: $(man_MANS)
|
2003-12-12 18:07:55 +01:00
|
|
|
|
2003-10-09 20:21:49 +02:00
|
|
|
clean-local:
|
|
|
|
$(RM) $(man_MANS)
|
2003-12-12 18:07:55 +01:00
|
|
|
|
2003-10-09 20:21:49 +02:00
|
|
|
else
|
|
|
|
all-local:
|
|
|
|
clean-local:
|
|
|
|
endif
|