Makefile revision 339
b4f37eb4023ec99254fc6a24abdcf3a6a18a3c37Eugen Kuksa###############################################################################
b4f37eb4023ec99254fc6a24abdcf3a6a18a3c37Eugen Kuksa# Fontconfig 2.x Makefile
b4f37eb4023ec99254fc6a24abdcf3a6a18a3c37Eugen Kuksa# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
b4f37eb4023ec99254fc6a24abdcf3a6a18a3c37Eugen Kuksa# Use subject to license terms.
b4f37eb4023ec99254fc6a24abdcf3a6a18a3c37Eugen Kuksa# Permission is hereby granted, free of charge, to any person obtaining a
LIBPATHS = LD_LIBRARY_PATH=$(PROTODIR)/usr/lib$(LIBSUBDIR) LD_RUN_PATH=/usr/lib$(LIBSUBDIR) $(DOC_PATH)
-if [ -f $@ ] ; then rm $@ ; fi
sed -e 's|-L$$libdir|-L$(PROTODIR)$${exec_prefix}/lib$(LIBSUBDIR) -L$$libdir|' -e 's|^includedir=$${prefix}|includedir=$(PROTODIR)$${prefix}|' $(PROTODIR)/usr/bin$(LIBSUBDIR)/freetype-config > $@
chmod +x $@
$(SOURCE_DIR)/fonts.conf-SUNW: $(SOURCE_DIR)/fonts.conf fonts.conf.append fonts.conf.preuser fix-fonts.conf.pl
$(FC_MAN_FIX) $(FC_MAN_DIR)/man5/fonts-conf.5 sunman-notes-fonts.conf $(TOP)/common/sunman-stability | sed -e 's/.TH "FONTS-CONF" "5"/.TH "fonts.conf" "4"/' -e 's/SUNWfontconfig/SUNWfontconfig-root/' > $(FC_MAN_DIR)/man4/fonts.conf.4
perl -p -e 's/^$$/.LP/;' -e 's/\251/\\(co/;' libfontconfig.3lib $(SOURCE_DIR)/COPYING >> $(FC_MAN_DIR)/man3lib/libfontconfig.3lib