Commit c05a3238 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

configure.in build the doc-shooter utility conditionally and explicitely

2005-07-04  Sven Neumann  <sven@gimp.org>

	* configure.in
	* devel-docs/tools/Makefile.am: build the doc-shooter utility
	conditionally and explicitely link it with -lX11.
parent 96a5b528
......@@ -874,6 +874,9 @@ if test "$gdk_target" = x11; then
dnl screenshot plug-in needs to link to X11 explicitely
LIBSCREENSHOT="$X_LIBS -lX11"
dnl doc-shooter is X11 specific
DOC_SHOOTER=doc-shooter
dnl Test for Xmu
if test -z "$LIBXMU"; then
gimp_save_CFLAGS="$CFLAGS"
......@@ -897,6 +900,7 @@ fi
AC_SUBST(LIBXMU)
AC_SUBST(LIBSCREENSHOT)
AC_SUBST(GIMP_REMOTE)
AC_SUBST(DOC_SHOOTER)
###################
......
......@@ -19,9 +19,13 @@ LDADDS = \
$(libgimpmath) \
$(libgimpcolor) \
$(libgimpbase) \
$(GTK_LIBS)
$(GTK_LIBS) \
$(X_LIBS) -lX11
noinst_PROGRAMS = doc-shooter
noinst_PROGRAMS = $(DOC_SHOOTER)
EXTRA_PROGRAMS = doc-shooter
doc_shooter_SOURCES = \
shadow.c \
......
The doc-shooter is a small utility used to create screenshots of
widgets for the GIMP API reference manuals. This utility isn't
built by default, you need to explicitely compile it using
widgets for the GIMP API reference manuals. This utility is X11
specific, so it should only be built when GIMP is being compiled
for the X11 GDK backend.
make doc-shooter
Taking the screenshots is also not part of the docs build.
Taking the screenshots is not part of the docs build.
Instead, the images are created, and then copied by hand into
devel-docs/libgimpwidgets/images. Ideally, the images should be
taken once a release, and all images should be updated at the
......
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