ddd94f842cb5585b798255a4d6f06ba63ef9ebd3
[platform/upstream/fontconfig.git] / INSTALL
1 Fontconfig is built with the traditional configure script:
2
3         $ ./configure --sysconfdir=/etc --prefix=/usr --mandir=/usr/share/man
4
5 This should generate valid Makefiles, then:
6
7         $ make
8         $ make install
9
10 If you're going to package fontconfig for release, there are several
11 important steps:
12
13  1.     Update the version numbers
14                 configure.in
15                 fontconfig/fontconfig.h
16
17  2.     Fix the README
18                 Change version number
19                 Set the date
20                 
21  3.     Commit those changes
22  
23  4.     rebuild the configuration files with autogen.sh
24                 sh autogen.sh --sysconfdir=/etc --prefix=/usr --mandir=/usr/share/man --localstatedir=/var
25                 
26  5.     make distcheck (NB: won't work without docbook-utils -PL)
27  
28  6.     tag the tree
29                 git-tag -u 096c4dd3 -m'Version 2.3.xx' 2.3.xx
30                 
31  7.     make Changelog-2.3.xx
32                 git-log 2.3.(xx-1).. > ChangeLog-2.3.xx
33                 
34  8.     Copy ChangeLog-2.3.xx and fontconfig-2.3.xx.tar.gz to
35  
36         freedesktop.org:/srv/fontconfig.freedesktop.org/www/release
37         
38  9.     Update the Fontconfig Devel wiki page
39         http://fontconfig.org/wiki/Devel
40         
41 10.     Compute md5sums for release files:
42                 md5sum fontconfig-2.3.xx.tar.gz ChangeLog-2.3.xx
43                 
44 11.     Post a note to fontconfig@fontconfig.org.  Include the md5sums.
45         gpg sign the message.