[banshee/docs: 23/23] [docs] Add makefu
- From: Gabriel Burt <gburt src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [banshee/docs: 23/23] [docs] Add makefu
- Date: Wed, 27 Jan 2010 00:39:17 +0000 (UTC)
commit adbcc3f58e1f0b6bc818934e77a4c443dd1dfe89
Author: Gabriel Burt <gabriel burt gmail com>
Date: Tue Jan 26 16:38:11 2010 -0800
[docs] Add makefu
.gitignore | 2 ++
Makefile.am | 5 +++++
autogen.sh | 2 ++
build/m4/shamrock/gnome-doc.m4 | 11 +++++++++++
configure.ac | 6 ++++++
help/Makefile.am | 25 +++++++++++++++++++++++++
help/banshee.omf.in | 9 +++++++++
7 files changed, 60 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 147d2e5..479ec7e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -47,6 +47,7 @@ stamp-h1
*.userprefs
Banshee.usertasks
build/m4/shave/shave
+build/m4/*.m4
build/m4/shave/shave-libtool
build/bundle/build-root
build/bundle/solitary/Options.cs
@@ -54,3 +55,4 @@ release-rc
C:\\NUnitPrimaryTrace.txt
tests/Performance/Performance.dll
tests/results/
+*.make
diff --git a/Makefile.am b/Makefile.am
index 3299c4e..246d907 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,7 @@
SUBDIRS = \
build \
data \
+ help \
libbanshee \
gstreamer \
src \
@@ -101,7 +102,10 @@ hg:
rm tester.*; \
popd;
+DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper
+
EXTRA_DIST = \
+ gnome-doc-utils.make \
intltool-extract.in \
intltool-merge.in \
intltool-update.in \
@@ -114,6 +118,7 @@ CLEANFILES = \
intltool-merge
DISTCLEANFILES = \
+ gnome-doc-utils.make \
*.bak \
*~ \
*.pidb
diff --git a/autogen.sh b/autogen.sh
index 9d7fefa..1027eb9 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -64,11 +64,13 @@ check_autotool_version $LIBTOOLIZE 1.4.3
check_autotool_version intltoolize 0.35.0
check_autotool_version pkg-config 0.14.0
+gnome-doc-prepare
run intltoolize --force --copy
run $LIBTOOLIZE --force --copy --automake
run aclocal -I build/m4/banshee -I build/m4/shamrock -I build/m4/shave $ACLOCAL_FLAGS
run autoconf
run autoheader
+
test -f config.h.in && touch config.h.in
run automake --gnu --add-missing --force --copy \
-Wno-portability -Wno-portability
diff --git a/build/m4/shamrock/gnome-doc.m4 b/build/m4/shamrock/gnome-doc.m4
new file mode 100644
index 0000000..43785c7
--- /dev/null
+++ b/build/m4/shamrock/gnome-doc.m4
@@ -0,0 +1,11 @@
+AC_DEFUN([SHAMROCK_CHECK_GNOME_DOC_UTILS],
+[
+ PKG_CHECK_MODULES(GNOME_DOC_UTILS, gnome-doc-utils >= $1,
+ HAVE_GNOME_DOC_UTILS=yes, HAVE_GNOME_DOC_UTILS=no)
+
+ AM_CONDITIONAL(ENABLE_GNOME_DOCS, test "x$HAVE_GNOME_DOC_UTILS" = "xyes")
+
+ if test "x$HAVE_GNOME_DOC_UTILS" = "xyes"; then
+ GNOME_DOC_INIT([$1])
+ fi
+])
diff --git a/configure.ac b/configure.ac
index 13065a4..1c7bbc1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -38,6 +38,7 @@ AC_INIT([banshee-1], banshee_version,
AM_INIT_AUTOMAKE([1.9 dist-bzip2 tar-ustar dist-zip foreign])
AM_MAINTAINER_MODE
AM_CONFIG_HEADER([config.h])
+AC_CONFIG_MACRO_DIR([build/m4])
AC_SUBST([ACLOCAL_AMFLAGS], ["-I build/m4/shamrock -I build/m4/banshee -I build/m4/shave \${ACLOCAL_FLAGS}"])
IT_PROG_INTLTOOL([0.35.0])
@@ -64,6 +65,8 @@ BANSHEE_CHECK_GSTREAMER
BANSHEE_CHECK_NOW_PLAYING_X11
+SHAMROCK_CHECK_GNOME_DOC_UTILS(0.17.3)
+
dnl Mono and gmcs
SHAMROCK_CHECK_MONO_MODULE(1.9.1)
SHAMROCK_FIND_MONO_2_0_COMPILER
@@ -216,6 +219,8 @@ data/desktop-files/Makefile
data/desktop-files/common.desktop
data/icon-theme-hicolor/Makefile
+help/Makefile
+
docs/Makefile
docs/Hyena/Makefile
docs/Banshee/Makefile
@@ -349,6 +354,7 @@ ${PACKAGE}-${VERSION}
Build/Development:
Unit Tests: ${do_tests} (requires nunit >= ${NUNIT_REQUIRED})
+ User Help: ${HAVE_GNOME_DOC_UTILS} (requires gnome-doc-utils >= 0.17.3)
Custom a11y: ${gtksharp_with_a11y} (requires gtk-sharp >= 2.12.10)
Release Build: ${enable_release}
Vendor Build ID: ${vendor_build_id}
diff --git a/help/Makefile.am b/help/Makefile.am
new file mode 100644
index 0000000..36eb0ff
--- /dev/null
+++ b/help/Makefile.am
@@ -0,0 +1,25 @@
+if ENABLE_GNOME_DOCS
+include $(top_srcdir)/gnome-doc-utils.make
+
+DOC_ID = banshee
+DOC_INCLUDES = legal.xml
+DOC_FIGURES =
+
+DOC_PAGES = \
+ add-podcast.page \
+ add-radiostation.page \
+ advanced.page \
+ import.page \
+ index.page \
+ manage-coverart.page \
+ manage-playlists.page \
+ manage-tags.page \
+ play-queue.page \
+ play.page \
+ search.page \
+ sort.page \
+ sync.page
+
+DOC_LINGUAS =
+dist-hook: doc-dist-hook
+endif
diff --git a/help/banshee.omf.in b/help/banshee.omf.in
new file mode 100644
index 0000000..29235e9
--- /dev/null
+++ b/help/banshee.omf.in
@@ -0,0 +1,9 @@
+<?xml version="1.0" standalone="no"?>
+<omf>
+ <resource>
+ <subject category="GNOME|Applications|Internet"/>
+ <type>manual</type>
+ <relation seriesid="593c483c-fd87-11dc-962a-db91d980186f"/>
+ <rights type="GNU FDL" license.version="1.1" holder="Milo Casagrande"/>
+ </resource>
+</omf>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]