~ubuntu-branches/ubuntu/precise/gnupg2/precise-proposed

« back to all changes in this revision

Viewing changes to doc/gph/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Urlichs
  • Date: 2006-01-24 04:31:42 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060124043142-pbg192or6qxv3yk2
Tags: 1.9.20-1
* New Upstream version. Closes:#306890,#344530
  * Closes:#320490: gpg-protect-tool fails to decrypt PKCS-12 files 
* Depend on libopensc2-dev, not -1-. Closes:#348106

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# GPH - GNU Privacy Handbook
 
2
 
 
3
PARTS = manual.sgml c1.sgml c2.sgml c3.sgml c4.sgml c5.sgml c6.sgml c7.sgml \
 
4
        signatures.fig signatures.jpg.asc
 
5
 
 
6
EXTRA_DIST = $(PARTS) index.html
 
7
#BUILT_SOURCES = index.html
 
8
 
 
9
all-local: ./signatures.jpg
 
10
 
 
11
./signatures.jpg: $(srcdir)/signatures.jpg.asc
 
12
        ../../g10/gpg --yes --dearmor \
 
13
                      -o ./signatures.jpg $(srcdir)/signatures.jpg.asc
 
14
        -test -d manual && cp ./signatures.jpg ./manual/signatures.jpg
 
15
 
 
16
 
 
17
index.html: $(PARTS)
 
18
        @set -e; \
 
19
           for i in $(PARTS); do \
 
20
             [ -f $$i ] || cat /dev/null $(srcdir)/$$i >./$$i ; \
 
21
           done
 
22
        db2html manual.sgml
 
23
        echo '<html><body>' >index.html
 
24
        echo '<ul>'         >>index.html
 
25
        echo '<li><a href="manual/book1.html">GnuPG User Manual</a>' >>index.html
 
26
        echo '</ul>'          >>index.html
 
27
        echo '</body></html>' >>index.html
 
28
        -rm -r manual.junk
 
29
        -rm manual/signatures.jpg
 
30
##    (cd manual; rm -r stylesheet-images; ls | grep -v distfiles >distfiles)
 
31
 
 
32
 
 
33
dist-hook: index.html
 
34
 
 
35
 
 
36
%.dvi: %.sgml
 
37
        db2dvi $<
 
38
 
 
39
%.ps: %.dvi
 
40
        dvips -o $@ $<
 
41
 
 
42
%/%.html: %.sgml
 
43
        db2html $<
 
44
 
 
45
 
 
46
%.png: %.fig
 
47
        fig2dev -L png $< $@
 
48
 
 
49
%.jpg: %.fig
 
50
        fig2dev -L jpeg $< $@
 
51
 
 
52
%.eps: %.fig
 
53
        fig2dev -L ps  $< $@
 
54