INSTALL 1.26 KB
Newer Older
1
Fontconfig is built with the traditional configure script:
2

3
	$ ./configure --sysconfdir=/etc --prefix=/usr --mandir=/usr/share/man
4

5 6 7 8 9 10
If you checked out from the git repository (as opposed to downloading a
tarball), you need to run autogen.sh instead of configure:

	$ ./autogen.sh --sysconfdir=/etc --prefix=/usr --mandir=/usr/share/man

Either way, that should generate valid Makefiles, then:
11 12 13 14

	$ make
	$ make install

15 16 17
If you're going to package fontconfig for release, there are several
important steps:

18 19
 1.	Create new version
 		sh new-version.sh 2.xx.xx
20
		
21
 2. 	rebuild the configuration files with autogen.sh
Behdad Esfahbod's avatar
Behdad Esfahbod committed
22
		./autogen.sh --sysconfdir=/etc --prefix=/usr --mandir=/usr/share/man --localstatedir=/var
23
		
Behdad Esfahbod's avatar
Behdad Esfahbod committed
24
 3.	make distcheck
25
 
26
 4.	Copy ChangeLog-2.x.y and fontconfig-2.x.y.tar.gz to
27
 
Akira TAGOH's avatar
Akira TAGOH committed
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

Akira TAGOH's avatar
Akira TAGOH committed
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