[pitivi: 38/41] Integrate the user manual with the application package



commit 95c1decabfcab99a50f3e6193cc76a9534d0e730
Author: Alex BÄluÈ <alexandru balut gmail com>
Date:   Sat Jun 11 01:54:25 2011 +0200

    Integrate the user manual with the application package

 .gitignore       |    1 +
 Makefile.am      |    4 +++-
 autogen.sh       |    6 ++++++
 configure.ac     |    3 +++
 help/Makefile.am |   53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 66 insertions(+), 1 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e6b82b6..0684260 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,6 +7,7 @@ config.rpath
 config.status
 config.sub
 configure
+gnome-doc-utils.make
 install-sh
 libtool
 locale/
diff --git a/Makefile.am b/Makefile.am
index eb0db8a..e2a7d04 100755
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,6 @@
 AUTOMAKE_OPTIONS = dist-bzip2
 
-SUBDIRS	= bin pitivi common po tests data
+SUBDIRS	= bin pitivi common po tests data help
 
 mimedir = $(datadir)/mime/packages
 mime_DATA = pitivi.xml
@@ -16,10 +16,12 @@ EXTRA_DIST = \
 	AUTHORS \
 	RELEASE \
 	ABOUT-NLS \
+	gnome-doc-utils.make \
     pitivi.xml
 
 
 DISTCLEANFILES =                \
+        gnome-doc-utils.make    \
         intltool-extract        \
         intltool-merge          \
         intltool-update
diff --git a/autogen.sh b/autogen.sh
index f0157a8..0aeb081 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -60,6 +60,12 @@ fi
 
 toplevel_check $srcfile
 
+echo "+ checking for GNOME Doc Utils"
+# gnome-doc-prepare is a gnome_doc_utils tool which creates a link to
+# gnome-doc-utils.make, which is required to build the user manual.
+tool_run "gnome-doc-prepare" "--automake" \
+    "echo Install gnome-doc-utils if gnome-doc-prepare is missing."
+
 tool_run "$aclocal" "-I common/m4 $ACLOCAL_FLAGS"
 tool_run "$autoconf"
 tool_run "$automake" "-a -c"
diff --git a/configure.ac b/configure.ac
index 2977c37..56a8a63 100644
--- a/configure.ac
+++ b/configure.ac
@@ -73,12 +73,15 @@ AC_SUBST(CONFIGURED_GST_PLUGIN_PATH)
 
 AC_CONFIG_FILES([bin/pitivi], [chmod +x bin/pitivi])
 
+GNOME_DOC_INIT([0.18.0])
+
 dnl output stuff
 AC_OUTPUT(
 Makefile
 bin/Makefile
 common/Makefile
 common/m4/Makefile
+help/Makefile
 pitivi/Makefile
 pitivi/configure.py
 pitivi/ui/Makefile
diff --git a/help/Makefile.am b/help/Makefile.am
new file mode 100644
index 0000000..e97e73d
--- /dev/null
+++ b/help/Makefile.am
@@ -0,0 +1,53 @@
+include $(top_srcdir)/gnome-doc-utils.make
+
+dist-hook: doc-dist-hook
+
+DOC_ID = pitivi
+DOC_FIGURES = \
+    figures/fadestep1.png \
+    figures/fadestep2.png \
+    figures/fadestep3.png \
+    figures/filechooser.png \
+    figures/hovering.png \
+    figures/keyframecurves.png \
+    figures/layers.png \
+    figures/logo.png \
+    figures/mainwindow.png \
+    figures/previewsource.png \
+    figures/ripple-after.png \
+    figures/ripple-before.png \
+    figures/roll-after.png \
+    figures/roll-before.png \
+    figures/ruler.png \
+    figures/trimming-individual.png
+
+DOC_PAGES = \
+    about.page \
+    crossfading.page \
+    effects.page \
+    effectsanimation.page \
+    fadeinfadeout.page \
+    figures \
+    gstreamer.page \
+    importingmpegts.page \
+    importing.page \
+    index.page \
+    insertintimeline.page \
+    interface.page \
+    keyframecurves.page \
+    layers.page \
+    license.page \
+    mainwindow.page \
+    makeselections.page \
+    medialibrary.page \
+    movearoundtimeline.page \
+    othertransitions.page \
+    projectsettings.page \
+    rendering.page \
+    saveproject.page \
+    selectunusedfiles.page \
+    splitting.page \
+    sysreq.page \
+    trimming.page \
+    usingclips.page \
+    welcomedialog.page



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]