small Unix installation update
This commit is contained in:
parent
d540613a7f
commit
bbf33f304a
|
@ -21,20 +21,37 @@
|
||||||
/* This is a Unix-specific version of <ft2build.h> that should be used */
|
/* This is a Unix-specific version of <ft2build.h> that should be used */
|
||||||
/* exclusively *after* installation of the library. */
|
/* exclusively *after* installation of the library. */
|
||||||
/* */
|
/* */
|
||||||
/* Currently, the FreeType 2 root is at "freetype2/freetype", though it */
|
/* it assumes that "/usr/local/include/freetype2", or wathever is */
|
||||||
/* will change to "freetype2" in the near future. */
|
/* returned by the "freetype-config --cflags" command is in your */
|
||||||
|
/* compilation include path.. */
|
||||||
|
/* */
|
||||||
|
/* We don't need to do anything special in this release. However, for */
|
||||||
|
/* FreeType 2.1, the following installation changes will be performed: */
|
||||||
|
/* */
|
||||||
|
/* - the content of "freetype-2.1/include/freetype" will be */
|
||||||
|
/* installed to "/usr/local/include/freetype2" instead of */
|
||||||
|
/* "/usr/local/include/freetype2/freetype" */
|
||||||
|
/* */
|
||||||
|
/* - this file will #include <freetype2/config/ftheader.h>, instead */
|
||||||
|
/* of <freetype/config/ftheader.h> */
|
||||||
|
/* */
|
||||||
|
/* - the content of "ftheader.h" will be processed through sed to */
|
||||||
|
/* replace all "<freetype/xxx>" with "<freetype2/xxxx>" */
|
||||||
|
/* */
|
||||||
|
/* - adding "/usr/local/include/freetype2" to your compilation */
|
||||||
|
/* include path will not be necessary anymore. The command */
|
||||||
|
/* "freetype-config --cflags" will return an empty string */
|
||||||
|
/* */
|
||||||
|
/* - client applications who adhere to the new inclusion scheme */
|
||||||
|
/* WILL NOT NEED TO BE MODIFIED to compile with FT 2.1 !! */
|
||||||
/* */
|
/* */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#ifndef __FT2_BUILD_UNIX_H__
|
#ifndef __FT2_BUILD_UNIX_H__
|
||||||
#define __FT2_BUILD_UNIX_H__
|
#define __FT2_BUILD_UNIX_H__
|
||||||
|
|
||||||
#define FT2_PUBLIC_FILE( x ) <freetype2/freetype/ ## x ## >
|
/* "/usr/local/include/freetype2" must be in your current inclusion path */
|
||||||
#define FT2_CONFIG_FILE( x ) <freetype2/freetype/config/ ## x ## >
|
#include <freetype/config/ftheader.h>
|
||||||
#define FT2_INTERNAL_FILE( x ) <freetype2/freetype/internal/ ## x ## >
|
|
||||||
|
|
||||||
#include FT2_CONFIG_FILE( ftheader.h )
|
|
||||||
|
|
||||||
#endif /* __FT2_BUILD_UNIX_H__ */
|
#endif /* __FT2_BUILD_UNIX_H__ */
|
||||||
|
|
||||||
|
|
|
@ -51,6 +51,7 @@ uninstall:
|
||||||
-$(DELETE) $(includedir)/freetype2/freetype/*
|
-$(DELETE) $(includedir)/freetype2/freetype/*
|
||||||
-$(DELDIR) $(includedir)/freetype2/freetype
|
-$(DELDIR) $(includedir)/freetype2/freetype
|
||||||
-$(DELDIR) $(includedir)/freetype2
|
-$(DELDIR) $(includedir)/freetype2
|
||||||
|
-$(DELETE) $(includedir)/ft2build.h
|
||||||
-$(DELETE) $(bindir)/freetype-config
|
-$(DELETE) $(bindir)/freetype-config
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue