Revision 99955b54

View differences:

doc/Makefile
12 12
.PHONY: prog.sgml bird.sgml
13 13

  
14 14
docs: progdocs userdocs
15

  
16
progdocs: prog.html prog.dvi
15
progdocs: prog.html prog.ps
16
userdocs: bird.html bird.ps
17 17

  
18 18
prog.sgml:
19 19
	$(srcdir)/tools/progdoc $(srcdir_abs)
......
21 21
%.html: %.sgml
22 22
	./sgml2html $<
23 23

  
24
%.info: %.sgml
25
	sgml2info $<
24
%.dvi: %.tex
25
	latex $<
26
	latex $<
26 27

  
27
%.dvi: %.sgml
28
	./sgml2latex $<
28
%.ps: %.dvi
29
	dvips -D600 -ta4 -o $@ $<
29 30

  
30 31
%.tex: %.sgml
31 32
	./sgml2latex --output=tex $<
......
37 38
	sed -f prog-spell.sed <prog.sgml >prog.spell
38 39
	ispell prog.spell
39 40

  
40
userdocs: bird.html bird.dvi bird.txt
41

  
42 41
clean:
43
	rm -f *.html *.tex *.dvi *.log *.ps *.txt *.aux *.toc *.spell
42
	rm -f *.tex *.dvi *.log *.txt *.aux *.toc *.spell
44 43
	rm -f prog.sgml
44

  
45
distclean: clean
46
	rm -f *.html *.ps
doc/mkdocs
1
#!/bin/bash
2
./sgml2html bird.sgml
3
./sgml2latex bird.sgml
4
./sgml2txt bird.sgml
5
#> bird.txt
6
#for i in bird.html bird-*.html; do 
7
#    lynx -dump $i | grep -v 'file://' | grep -v '^References$' >> bird.txt
8
#    done
doc/printme
1
#!/bin/bash
2
./mkdocs; cat bird.txt | sed s/.//g | lpr
tools/Makefile-top.in
3 3

  
4 4
objdir=@objdir@
5 5

  
6
all depend tags install:
6
all depend tags install install-docs:
7 7
	$(MAKE) -C $(objdir) $@
8 8

  
9 9
docs userdocs progdocs:
......
14 14
	find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name depend -or -name ".#*" | xargs rm -f
15 15

  
16 16
distclean: clean
17
	$(MAKE) -C doc clean
17
	$(MAKE) -C doc distclean
18 18
	rm -rf $(objdir)
19 19
	rm -f config.* configure sysdep/autoconf.h sysdep/paths.h Makefile
tools/Makefile.in
54 54
		echo "Not overwriting old bird.conf" ;						\
55 55
	fi
56 56

  
57
install-docs:
58
	$(INSTALL) -d $(docdir)
59
	$(INSTALL_DATA) $(srcdir)/doc/{bird,prog}{,-*}.html $(docdir)/
60

  
57 61
clean:
58 62
	find . -name "*.[oa]" -o -name core -o -name depend -o -name "*.html" | xargs rm -f
59 63
	rm -f $(exedir)/bird $(exedir)/birdc $(exedir)/bird.ctl .dep-stamp
tools/Rules.in
39 39
sbindir=@sbindir@
40 40
sysconfdir=@sysconfdir@
41 41
localstatedir=@localstatedir@
42
docdir=@prefix@/doc
42 43

  
43 44
ifdef source
44 45

  

Also available in: Unified diff