]> git.wh0rd.org - fontconfig.git/blobdiff - fc-cache/Makefile.am
Eliminate references to freetype from utility Makefile.am's
[fontconfig.git] / fc-cache / Makefile.am
index 56f7952ee7aa5d88946af9377e6ed163cf418c1b..b2be6bc37d860e127318711dcdc5280d3ce7271b 100644 (file)
@@ -1,7 +1,7 @@
 # 
 #  $Id$
 # 
-#  Copyright © 2003 Keith Packard
+#  Copyright Â© 2003 Keith Packard
 # 
 #  Permission to use, copy, modify, distribute, and sell this software and its
 #  documentation for any purpose is hereby granted without fee, provided that
@@ -27,18 +27,27 @@ FC_CACHE_SRC=${top_srcdir}/fc-cache
 
 SGML = ${FC_CACHE_SRC}/fc-cache.sgml
 
-INCLUDES=-I${top_srcdir} $(FREETYPE_CFLAGS)
+if OS_WIN32
+else
+install-data-local:
+       -$(mkinstalldirs) "$(DESTDIR)$(fc_cachedir)"
+
+uninstall-local:
+       -$(RM) -rf "$(DESTDIR)$(fc_cachedir)"
+endif
+
+INCLUDES=-I${top_srcdir} -I${top_srcdir}/src $(WARN_CFLAGS)
 
 bin_PROGRAMS=fc-cache
 
-EXTRA_DIST=$(SGML)
+man_MANS=fc-cache.1
+
+EXTRA_DIST=fc-cache.sgml $(man_MANS)
 
 fc_cache_LDADD = ${top_builddir}/src/libfontconfig.la
 
 if USEDOCBOOK
 
-man_MANS=fc-cache.1
-
 ${man_MANS}: ${SGML}   
        $(RM) $@
        $(DOC2MAN) ${SGML}