1c8d3e376ff23f39231b9a8de2dad08b2688d243
[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                 Append the short log
21
22                 git-log --pretty=short 2.4.xx | git-shortlog
23                 
24  3.     Commit those changes
25  
26  4.     rebuild the configuration files with autogen.sh
27                 sh autogen.sh --sysconfdir=/etc --prefix=/usr --mandir=/usr/share/man --localstatedir=/var
28                 
29  5.     make distcheck (NB: won't work without docbook-utils -PL)
30  
31  6.     tag the tree
32                 git-tag -u 096c4dd3 -m 'Version 2.4.x' 2.4.x
33                 
34  7.     make Changelog-2.4.x
35                 git-log --stat 2.4.(x-1).. > ChangeLog-2.4.x
36                 
37  8.     Copy ChangeLog-2.4.x and fontconfig-2.4.x.tar.gz to
38  
39         freedesktop.org:/srv/fontconfig.freedesktop.org/www/release
40         
41  9.     Update the Fontconfig Devel wiki page
42         http://fontconfig.org/wiki/Devel
43         
44 10.     Update the fontconfig documentation
45
46                 scp -rp doc/fontconfig-user.html doc/fontconfig-devel fontconfig.org:/srv/fontconfig.freedesktop.org/www
47
48 11.     Compute md5sums for release files:
49                 md5sum fontconfig-2.4.x.tar.gz ChangeLog-2.4.x
50                 
51 12.     Post a note to fontconfig@fontconfig.org.  Include the md5sums.
52         gpg sign the message.
53