summaryrefslogtreecommitdiff
path: root/doc/README.CVS
blob: ed9a925a531d4ef74787f8b7fab79c4cf8c7bb96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
If you just want to browse the cvs tree, you may visit
http://cvs.gnupg.org/cgi-bin/viewcvs.cgi/gnutls/?cvsroot=GNU+TLS+Library

Otherwise, if you want to get and build the tree, you should have the
following software:

* cvs (http://www.gnu.org/software/cvs/)
* autoconf 2.57 or newer (http://www.gnu.org/software/autoconf/)
* libtool (http://www.gnu.org/software/libtoool/)
* automake 1.8 or newer (http://www.gnu.org/software/automake/)
* libgcrypt (ftp://ftp.gnupg.org/pub/gcrypt/alpha/libgcrypt/)
* texinfo (http://www.gnu.org/software/texinfo/)
* gtk-doc CVS (to generate reference HTML manual in doc/reference/)
  with the patch below, from:
  http://bugzilla.gnome.org/show_bug.cgi?id=156300

Those are optional:
* latex/dvips (in order to create gnutls.ps)
* cvs2cl (in order to create ChangeLog) (http://www.red-bean.com/cvs2cl/)
* gaa (to handle example programs' parameters) (http://gaa.sf.net)

1. Download the cvs tree
$ cvs -z3 -d :pserver:anoncvs@cvs.gnupg.org:/cvs/gnutls login
$ cvs -z3 -d :pserver:anoncvs@cvs.gnupg.org:/cvs/gnutls checkout gnutls

$ cd gnutls

2. Create configure script
$ ./buildconf

3. Compile the sources
$ ./configure --enable-developer-mode
$ make

* Create the ChangeLog
$ make ChangeLog

4. If you intend to change any code in gnutls, check the file
 doc/README.CODING_STYLE.

Index: gtk-doc.make
===================================================================
RCS file: /cvs/gnome/gtk-doc/gtk-doc.make,v
retrieving revision 1.9
diff -u -p -r1.9 gtk-doc.make
--- gtk-doc.make	14 Oct 2004 18:59:25 -0000	1.9
+++ gtk-doc.make	5 Jan 2005 02:19:49 -0000
@@ -49,6 +49,7 @@ all-local: html-build.stamp
 scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB)
 	@echo '*** Scanning header files ***'
 	@-chmod -R u+w $(srcdir)
+	test -f $(DOC_MODULE).types || touch $(DOC_MODULE).types
 	if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null ; then \
 	    CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" CFLAGS="$(GTKDOC_CFLAGS)" LDFLAGS="$(GTKDOC_LIBS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) --module=$(DOC_MODULE) --output-dir=$(srcdir) ; \
 	else \
@@ -66,7 +67,7 @@ $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES):
 
 #### templates ####
 
-tmpl-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt
+tmpl-build.stamp tmpl/*.sgml: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt
 	@echo '*** Rebuilding template files ***'
 	@-chmod -R u+w $(srcdir)
 	cd $(srcdir) && gtkdoc-mktmpl --module=$(DOC_MODULE)