~ubuntu-branches/ubuntu/feisty/digikam/feisty

« back to all changes in this revision

Viewing changes to doc/de/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Achim Bohnet
  • Date: 2005-03-10 02:39:02 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 hoary)
  • Revision ID: james.westby@ubuntu.com-20050310023902-023nymfst5mg696c
Tags: 0.7.2-2
* debian/TODO: clean
* digikam manpage: better --detect-camera description

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#------------------------------------------------------
2
 
# Set this variable in according with your language
3
 
 
4
 
# Used for folder name and source .po file name.
5
 
KDE_LANG = de
6
 
# Used for to change the current Language in the target handbook.
7
 
LANGUAGE_NAME = German
8
 
 
9
 
#------------------------------------------------------
10
 
 
11
 
KDE_DOCS = digikam
12
 
DOCDIR = $(DESTDIR)${kde_htmldir}
13
 
EXTRA_DIST = index.docbook addcamera.png cameraclient.png imageviewer.png mainwindow.png setupalbum.png
14
 
 
15
 
docbook_DATA = index.docbook
16
 
docbookdir = $(kde_htmldir)/$(KDE_LANG)/digikam
17
 
noinst_HEADERS = index_$(KDE_LANG).po
18
 
 
19
 
 
20
 
index_$(KDE_LANG).po: ../en/index_en.pot
21
 
        msgmerge -o index_$(KDE_LANG).po $(srcdir)/index_$(KDE_LANG).po ../en/index_en.pot
22
 
 
23
 
index.docbook: ../en/index.docbook ../en/index_en.pot index_$(KDE_LANG).po
24
 
        ${MAKE} index_$(KDE_LANG).po ../en/index-shifted.docbook
25
 
        @echo "converting $(LANGUAGE_NAME) help"
26
 
        @echo "(this takes very very long, please be patient...)"
27
 
        po2xml ../en/index-shifted.docbook index_$(KDE_LANG).po | \
28
 
        sed s/^\<\!ENTITY\ %\ English\ /\<\!ENTITY\ %\ $(LANGUAGE_NAME)\ /g > $@
29
 
 
30
 
# --- Translated html help, not needed in distribution. Just for the Web site ---
31
 
 
32
 
index.html: index.docbook
33
 
        cd ../en;${MAKE} index.html;cd ../$(KDE_LANG)
34
 
        @MEINPROC@ --check index.docbook
35
 
        mkdir -p ../html
36
 
        mkdir -p ../html/$(KDE_LANG)
37
 
        mv *.html ../html/$(KDE_LANG)/
38
 
        cp -R *.png ../html/$(KDE_LANG)/
39
 
        rm -Rf ./common
40
 
        mkdir -p ../html/$(KDE_LANG)/common
41
 
        cp -R ${DOCDIR}/$(KDE_LANG)/common/* ../html/$(KDE_LANG)/common
42
 
        for file in ../html/$(KDE_LANG)/*.html; do { \
43
 
                echo $$file; \
44
 
                cat $$file | sed s+help:/common+./common+g > $$file.new; \
45
 
                mv $$file.new $$file; \
46
 
        } done