Commit c2b083cc authored by Caulier Gilles's avatar Caulier Gilles

Add Handbooks HTML export...

svn path=/trunk/kdenlive/; revision=311
parent b315ca9c
......@@ -10,6 +10,7 @@ endocbookdir = $(kde_htmldir)/en/kdenlive
KDE_LANG = en
KDE_DOCS = kdenlive
DOCDIR = $(DESTDIR)${kde_htmldir}
index_en.pot: index.docbook index-shifted.docbook
xml2pot index.docbook > index_en.pot
......@@ -17,3 +18,19 @@ index_en.pot: index.docbook index-shifted.docbook
index-shifted.docbook: index.docbook
cat index.docbook | expand | sed s/^[\ ]*// > index-shifted.docbook
noinst_HEADERS = index_en.pot index-shifted.docbook
# --- Translated html help, not needed in distribution. Just for the Web site ---
index.html: index.docbook
@MEINPROC@ --check index.docbook
mkdir -p ./html
mv *.html ./html/
cp -R *.png ./html/
rm -Rf ./common
mkdir -p ./html/common
cp -R ${DOCDIR}/en/common/* ./html/common
for file in ./html/*.html; do { \
echo $$file; \
cat $$file | sed s+help:/common+./common+g > $$file.new; \
mv $$file.new $$file; \
} done
......@@ -2,14 +2,13 @@
EXTRA_DIST = index.docbook mainwindow.png monitor_panel.png project_panel.png timeline_panel.png project_with_clips.png debug_tab.png setup_renderer.png rendering_project.png
KDE_LANG = fr
KDE_DOCS = kdenlive
DOCDIR = $(DESTDIR)${kde_htmldir}
docbook_DATA = index.docbook
docbookdir = $(kde_htmldir)/fr/kdenlive
index_fr.po: ../en/index_en.pot
msgmerge -o index_fr.po index_fr.po ../en/index_en.pot
......@@ -21,3 +20,19 @@ index.docbook: ../en/index.docbook ../en/index_en.pot index_fr.po
sed s/^\<\!ENTITY\ %\ English\ /\<\!ENTITY\ %\ French\ /g > $@
noinst_HEADERS = index_fr.po
# --- Translated html help, not needed in distribution. Just for the Web site ---
index.html: index.docbook
@MEINPROC@ --check index.docbook
mkdir -p ./html
mv *.html ./html/
cp -R *.png ./html/
rm -Rf ./common
mkdir -p ./html/common
cp -R ${DOCDIR}/fr/common/* ./html/common
for file in ./html/*.html; do { \
echo $$file; \
cat $$file | sed s+help:/common+./common+g > $$file.new; \
mv $$file.new $$file; \
} done
\ No newline at end of file
......@@ -31,7 +31,7 @@ author=Jason Wood
configure_args=
email=jasonwood@blueyonder.co.uk
kdevprj_version=1.3
lfv_open_groups=
lfv_open_groups=Sources,Translations
make_options=\s-j1
makefiles=Makefile.am,kdenlive/Makefile.am,doc/Makefile.am,doc/en/Makefile.am,po/Makefile.am,icons/Makefile.am,icons/hicolor/32x32/Makefile.am,icons/hicolor/Makefile.am,icons/hicolor/32x32/actions/Makefile.am,graphics/Makefile.am
modifyMakefiles=true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment