Simplify to validate the availability of scandir
[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 If you checked out from the git repository (as opposed to downloading a
6 tarball), you need to run autogen.sh instead of configure:
7
8         $ ./autogen.sh --sysconfdir=/etc --prefix=/usr --mandir=/usr/share/man
9
10 Either way, that should generate valid Makefiles, then:
11
12         $ make
13         $ make install
14
15 If you're going to package fontconfig for release, there are several
16 important steps:
17
18  1.     Create new version
19                 sh new-version.sh 2.xx.xx
20                 
21  2.     rebuild the configuration files with autogen.sh
22                 ./autogen.sh --sysconfdir=/etc --prefix=/usr --mandir=/usr/share/man --localstatedir=/var
23                 
24  3.     make distcheck
25  
26  4.     Copy ChangeLog-2.x.y and fontconfig-2.x.y.tar.gz to
27  
28                 freedesktop.org:/srv/www.freedesktop.org/www/software/fontconfig/release
29         
30  5.     Update the Fontconfig Devel wiki page
31         http://fontconfig.org/wiki/Devel
32         
33  6.     Update the fontconfig documentation
34
35                 scp -rp doc/fontconfig-user.html doc/fontconfig-devel freedesktop.org:/srv/www.freedesktop.org/www/software/fontconfig
36
37  7.     Compute md5sums for release files:
38                 md5sum fontconfig-2.4.x.tar.gz ChangeLog-2.4.x
39                 
40  8.     Post a note to fontconfig@fontconfig.org.  Include the md5sums.
41         gpg sign the message.
42