Commit e514833a authored by Christian Hergert's avatar Christian Hergert

initial commit

parents
# Generated by Makefile. Do not edit.
Christian Hergert
# Contributing to Template-GLib
This project is very new.
Take a look around and see if there is anything you'd like to work on.
Report bugs to me any way you know how.
Email, github, bugzilla (in gnome-builder project), etc.
## Coding Style
We follow the GLib and Gtk+ coding style, which is roughly GNU C89.
Please don't use the new g_auto() and g_autoptr() since we would like
this to work on other platforms without much effort.
This diff is collapsed.
SUBDIRS = data src tests po doc examples
INTLTOOL_FILES = \
intltool-extract.in \
intltool-merge.in \
intltool-update.in \
$(NULL)
EXTRA_DIST = \
$(INTLTOOL_FILES) \
AUTHORS \
$(NULL)
DISTCLEANFILES = \
intltool-extract \
intltool-merge \
intltool-update \
po/.intltool-merge-cache
DISTCHECK_CONFIGURE_FLAGS = \
--enable-introspection \
--enable-gtk-doc \
$(NULL)
GITIGNOREFILES = \
**/*.swp \
*.o \
aclocal.m4 \
build-aux \
ChangeLog \
config \
config.h.in \
gtk-doc.m4 \
gtk-doc.make \
INSTALL \
$(NULL)
AUTHORS:
@if test -d "$(srcdir)/.git"; \
then \
echo Creating $@ && \
( cd "$(top_srcdir)" && \
echo '# Generated by Makefile. Do not edit.'; echo; \
git log --no-merges --pretty=format:"%an" src \
| sort | uniq ) > $@.tmp \
&& mv -f $@.tmp $@ \
|| ( rm -f $@.tmp ; \
echo Failed to generate $@ >&2 ); \
fi
dist-hook:
@if test -d "$(srcdir)/.git"; \
then \
echo Creating ChangeLog && \
( cd "$(top_srcdir)" && \
echo '# Generated by Makefile. Do not edit.'; echo; \
$(top_srcdir)/missing --run git log --stat ) > ChangeLog.tmp \
&& mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
|| ( rm -f ChangeLog.tmp ; \
echo Failed to generate ChangeLog >&2 ); \
else \
echo A git clone is required to generate a ChangeLog >&2; \
fi
.PHONY: AUTHORS
-include $(top_srcdir)/git.mk
# Template-GLib
Template-GLib is a library to help you generate text based on a template and
user defined state. Template-GLib does not use a language runtime, so it is
safe to use from any GObject-Introspectable language.
Template-GLib allows you to access properties on GObjects as well as call
simple methods via GObject-Introspection. See our examples for how to call
methods.
## Authors
* Christian Hergert <chergert@redhat.com>
## Examples
See `examples/` for more detailed examples.
The following is contrived to show you the versatility of the syntax.
Template expressions and blocks are defined inside of {{ and }}.
```tmpl
{{if (foo.bar)*10/30.0+1 != foo.baz()}}
{{for item in foo.list}}
{{item.foo}}
{{end}}
{{else if x > 10}}
bar
{{else}}
foo
{{end}}
```
### Includes
* `{{include "path-to-template.tmpl"}}`
### Conditionals
* `{{if <expression>}}`
* `{{else if <expression>}}`
* `{{else <expression>}}`
* `{{for <identifier> in <expression>}}`
`if` and `for` should have a closing `{{end}}`
### Expressions
Expressions are parsed using a formal grammer, which you can find in the
flex and bison files at `src/tmpl-expr-scanner.l` and `tmpl-expr-parser.y`
respectively.
All numbers are currently represented as double-precision floating point.
This may change in the near future.
These can be used inside of {{ and }} to be evaluated. They can also be used
as expressions using the above conditional blocks.
```
true => true
false => false
" " => " "
" " * 3 => " "
1 + 3 => 4
1 - 3 => -2
1 * 3 => 3
1 / 3 => .333333
a = (1*3) => (a assigned 3)
a * a => 9
func min(a,b) = if a < b then a; else b;;
min(1,2) => 1
obj.foo => (Gets GObject property "foo")
obj.foo=1 => (Sets GObject property "foo")
obj.foo() => (Calls foo() on obj, via GObject Introspection)
# Note that we do not yet have support for accessing
# children of the Typelib. That is coming.
require Gtk => (GITypelib of Gtk)
require Gtk version "3.0" => (GITypelib of Gtk, requiring 3.0)
```
### Template Loading
See `TmplTemplateLoader` to control the lookup of included templates.
You probably want to do this if you are using this in something like a
webserver. By default, the search path is empty, and will not allow
including external resources.
Search paths will not allow loading templates above the search path entry.
### Scope
You can assign state into the template using `TmplScope`.
```c
/* scope can be inherited, by passing a parent instead of NULL */
TmplScope *scope = tmpl_scope_new (NULL);
TmplSymbol *symbol = tmpl_scope_get (scope, "foo");
tmpl_symbol_assign_boolean (symbol, TRUE);
tmpl_symbol_assign_double (symbol, 123.4);
tmpl_symbol_assign_string (symbol, "foo");
tmpl_symbol_assign_object (symbol, g_object_new (MY_TYPE_FOO, NULL));
/* or if you can assign via a GValue */
GValue value = G_VALUE_INIT;
g_value_set_boxed (&value, my_boxed);
tmpl_symbol_assign_value (symbol, &value);
g_value_unset (&value);
```
## Contributing
See CONTRIBUTING.md for information on how you can contribute.
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
(test -f $srcdir/src/main.c) || {
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
echo " top-level template-glib directory."
exit 1
}
touch ChangeLog
touch INSTALL
aclocal --install -I build-aux || exit 1
glib-gettextize --force --copy || exit 1
intltoolize --force --copy --automake || exit 1
gtkdocize || exit 1
autoreconf --force --install -Wno-portability || exit 1
if [ "$NOCONFIGURE" = "" ]; then
$srcdir/configure "$@" || exit 1
if [ "$1" = "--help" ]; then exit 0 else
echo "Now type \`make\' to compile" || exit 1
fi
else
echo "Skipping configure process."
fi
set +x
AC_PREREQ([2.69])
dnl ***********************************************************************
dnl Define Versioning Information
dnl ***********************************************************************
m4_define([tmpl_major_version],[3])
m4_define([tmpl_minor_version],[19])
m4_define([tmpl_micro_version],[4])
m4_define([tmpl_version],[tmpl_major_version.tmpl_minor_version.tmpl_micro_version])
m4_define([tmpl_interface_age],[0])
m4_define([tmpl_bugreport_url],
[https://bugzilla.gnome.org/enter_bug.cgi?product=template-glib])
m4_define([tmpl_debug_default],
[m4_if(m4_eval(tmpl_minor_version % 2), [1], [yes], [minimum])])
dnl ***********************************************************************
dnl Initialize Autoconf
dnl ***********************************************************************
AC_INIT([template-glib],[tmpl_version],[tmpl_bugreport_url])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_SRCDIR([src/main.c])
AC_CONFIG_MACRO_DIR([build-aux])
AC_CONFIG_AUX_DIR([build-aux])
AC_SUBST(ACLOCAL_AMFLAGS, "-I build-aux")
AC_CANONICAL_HOST
dnl ***********************************************************************
dnl Make Version Info Available to .in Files
dnl ***********************************************************************
MAJOR_VERSION=tmpl_major_version
MINOR_VERSION=tmpl_minor_version
MICRO_VERSION=tmpl_micro_version
AC_SUBST(MAJOR_VERSION)
AC_SUBST(MINOR_VERSION)
AC_SUBST(MICRO_VERSION)
dnl ***********************************************************************
dnl Initialize Automake
dnl ***********************************************************************
AM_SILENT_RULES([yes])
AM_INIT_AUTOMAKE([1.11 foreign subdir-objects tar-ustar no-dist-gzip dist-xz])
AM_MAINTAINER_MODE([enable])
dnl ***********************************************************************
dnl Internationalization
dnl ***********************************************************************
IT_PROG_INTLTOOL([0.50.1])
GETTEXT_PACKAGE=AC_PACKAGE_TARNAME
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"], [GETTEXT package name])
AM_GLIB_GNU_GETTEXT
dnl ***********************************************************************
dnl Check for Required Programs
dnl ***********************************************************************
AC_PROG_CC
AC_PROG_INSTALL
AM_PROG_LEX
AC_PROG_YACC
AC_PATH_PROG([GLIB_GENMARSHAL], [glib-genmarshal])
AC_PATH_PROG([GLIB_MKENUMS], [glib-mkenums])
AC_PATH_PROG([GLIB_COMPILE_RESOURCES], [glib-compile-resources])
PKG_PROG_PKG_CONFIG([0.22])
GOBJECT_INTROSPECTION_CHECK([1.42.0])
GLIB_GSETTINGS
dnl ***********************************************************************
dnl Enable support for debuggin
dnl ***********************************************************************
AC_ARG_ENABLE(tracing,
AS_HELP_STRING([--enable-tracing=@<:@no/yes@:>@],
[add extra debugging information @<:@default=no@:>@]),
,
enable_tracing=no)
AS_IF([test "x$enable_tracing" = "xyes"],[enable_debug=yes ENABLE_TRACING=1],[ENABLE_TRACING=0])
AC_SUBST(ENABLE_TRACING)
AC_ARG_ENABLE(debug,
AS_HELP_STRING([--enable-debug=@<:@no/minimum/yes@:>@],
[turn on debugging @<:@default=tmpl_debug_default@:>@]),
,
enable_debug=tmpl_debug_default)
AS_CASE(["$enable_debug"],
[yes],[
DEBUG_CFLAGS="$DEBUG_CFLAGS -O0"
DEBUG_CFLAGS="$DEBUG_CFLAGS -g"
],
[minimum],[
DEBUG_CFLAGS="$DEBUG_CFLAGS -DG_DISABLE_CAST_CHECKS"
],
[no],[
DEBUG_CFLAGS="$DEBUG_CFLAGS -DG_DISABLE_ASSERT"
DEBUG_CFLAGS="$DEBUG_CFLAGS -DG_DISABLE_CHECKS"
DEBUG_CFLAGS="$DEBUG_CFLAGS -DG_DISABLE_CAST_CHECKS"
],
[])
AC_SUBST(DEBUG_CFLAGS)
dnl ***********************************************************************
dnl Check for Required Packages
dnl ***********************************************************************
PKG_CHECK_MODULES(TMPL, [gio-2.0 >= 2.47.4
gobject-introspection-1.0 >= 1.47.1])
dnl ***********************************************************************
dnl Initialize Libtool
dnl ***********************************************************************
LT_PREREQ([2.2])
LT_INIT
dnl ***********************************************************************
dnl Additional C Compiler Flags
dnl ***********************************************************************
AX_CHECK_COMPILE_FLAG([-Werror=unknown-warning-option], [
ax_compiler_flags_test="-Werror=unknown-warning-option"
], [
ax_compiler_flags_test=""
])
AX_APPEND_COMPILE_FLAGS([ \
-Wall \
-Wcast-align \
-Wdeclaration-after-statement \
-Wempty-body \
-Werror=format-security \
-Werror=format=2 \
-Wextra \
-Wformat \
-Wformat-nonliteral \
-Wformat-security \
-Winit-self \
-Wmisleading-indentation \
-Wmissing-include-dirs \
-Wshift-negative-value \
-Wnested-externs \
-Wno-missing-field-initializers \
-Wno-sign-compare \
-Wno-strict-aliasing \
-Wno-uninitialized \
-Wno-unused-parameter \
-Wpointer-arith \
-Wredundant-decls \
-Wreturn-type \
-Wshadow \
-Wswitch-default \
-Wswitch-enum \
-Wundef \
-Wuninitialized \
], [], [$ax_compiler_flags_test])
AC_C_CONST
dnl ***********************************************************************
dnl Use --enable-tests to always build tests
dnl ***********************************************************************
AC_ARG_ENABLE([tests],
AS_HELP_STRING([--enable-tests],
[Enable always building tests during 'make all' [default=no]]),
[enable_tests=$enableval], [enable_tests=no])
AM_CONDITIONAL([ENABLE_TESTS], test "$enable_tests" = "yes")
dnl ***********************************************************************
dnl Support for gtk-doc Documentation Engine
dnl ***********************************************************************
GTK_DOC_CHECK([1.11],[--flavour no-tmpl])
AM_CONDITIONAL(ENABLE_GTK_DOC, test "x$enable_gtk_doc" = "xyes")
AC_ARG_ENABLE(doc-cross-references,
AS_HELP_STRING([--disable-doc-cross-references],
[cross reference symbols from other libraries @<:@default=yes@:>@]),
enable_doc_cross_references=$enableval,
enable_doc_cross_references=yes)
AM_CONDITIONAL(ENABLE_DOC_CROSS_REFERENCES, test x$enable_doc_cross_references != xno)
dnl ***********************************************************************
dnl Enable optimizations such as -Bsymbolic
dnl ***********************************************************************
AC_MSG_CHECKING([whether to enable optimized builds])
AC_ARG_ENABLE(optimizations,
AC_HELP_STRING([--enable-optimizations],
[turn on build-time optimizations [default=yes]]),
[enable_optimizations=$enableval],
[AS_IF([test "x$enable_debug" = "xyes"],
[enable_optimizations="no"],
[enable_optimizations="yes"])])
AC_MSG_RESULT([$enable_optimizations])
OPTIMIZE_CFLAGS=""
OPTIMIZE_LDFLAGS=""
# Enable -Bsymbolic
AS_IF([test "$enable_optimizations" != "no"],
[AX_CHECK_LINK_FLAG([-Wl,-Bsymbolic],
[OPTIMIZE_LDFLAGS="$OPTIMIZE_LDFLAGS -Wl,-Bsymbolic"])
AX_CHECK_LINK_FLAG([-fno-plt],
[OPTIMIZE_LDFLAGS="$OPTIMIZE_LDFLAGS -fno-plt"])])
AC_SUBST(OPTIMIZE_CFLAGS)
AC_SUBST(OPTIMIZE_LDFLAGS)
dnl ***********************************************************************
dnl Check if we should instrument our targets
dnl ***********************************************************************
AC_MSG_CHECKING([for --enable-profiling])
AC_ARG_ENABLE(profiling,
AC_HELP_STRING([--enable-profiling],
[turn on runtime instrumentation [default=no]]),
[enable_profiling=$enableval],
[enable_profiling=no])
AS_IF([test "$enable_profiling" = "yes"],[
ac_save_cflags="$CFLAGS"
CFLAGS="$CFLAGS -pg"
AC_LINK_IFELSE([AC_LANG_SOURCE([[int main() { return 0; }]])],
[PROFILING_CFLAGS="-pg"],
[enable_profiling=no])
CFLAGS="$ac_save_cflags $PROFILING_CFLAGS"
])
AC_MSG_RESULT([$enable_profiling])
dnl ***********************************************************************
dnl Process .in Files
dnl ***********************************************************************
AC_CONFIG_FILES([
Makefile
data/Makefile
data/template-glib-1.0.pc
examples/Makefile
doc/Makefile
po/Makefile.in
src/Makefile
src/tmpl-debug.h
tests/Makefile
])
AC_OUTPUT
echo ""
echo " ${PACKAGE} - ${VERSION}"
echo ""
echo " Options"
echo ""
echo " Prefix ............................... : ${prefix}"
echo " Library Directory .................... : ${libdir}"
echo " Optimized Build ...................... : ${enable_optimizations}"
echo ""
echo " Development Options"
echo ""
echo " Enable Debug ......................... : ${enable_debug}"
echo " Enable Profiling (-pg)................ : ${enable_profiling}"
echo " Build Test Suite ..................... : ${enable_tests}"
echo " Build API reference .................. : ${enable_gtk_doc}"
echo " Use cross-referencing in API docs .... : ${enable_doc_cross_references}"
echo ""
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = template-glib-1.0.pc
-include $(top_srcdir)/git.mk
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: template-glib-1.0
Description: A fast templating library for GLib-based applications
Version: @VERSION@
Libs: -L${libdir} -ltemplate-glib-1.0
Cflags: -I${includedir}/template-glib-1.0
Requires: gio-2.0
-include $(top_srcdir)/git.mk
EXTRA_DATA = \
article.tmpl \
simple.tmpl \
$(NULL)
-include $(top_srcdir)/git.mk
<!--
this assumes you have an article GObject in scope
with the properties title, author, sections and data.
content is a GListModel of paragraphs.
-->
<html>
<head>
<title>{{article.title}}</title>
</head>
<body>
<h1>{{article.title}}</h1>
<div>By {{article.author}} on {{article.date}}</div>
{{for section in article.sections}}
<div>{{section}}</div>
{{end}}
</body>
</html>
<html>
<head>
<title>{{title="Example Page"}}</title>
</head>
<body>
{{if title}}
<h1>{{title}}</h1>
{{else}}
<h1>Untitled</h1>
{{end}}
</body>
</html>
# git.mk, a small Makefile to autogenerate .gitignore files
# for autotools-based projects.
#
# Copyright 2009, Red Hat, Inc.
# Copyright 2010,2011,2012,2013 Behdad Esfahbod
# Written by Behdad Esfahbod
#
# Copying and distribution of this file, with or without modification,
# is permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.
#
# The latest version of this file can be downloaded from:
GIT_MK_URL = https://raw.githubusercontent.com/behdad/git.mk/master/git.mk
#
# Bugs, etc, should be reported upstream at:
# https://github.com/behdad/git.mk
#
# To use in your project, import this file in your git repo's toplevel,
# then do "make -f git.mk". This modifies all Makefile.am files in
# your project to -include git.mk. Remember to add that line to new
# Makefile.am files you create in your project, or just rerun the
# "make -f git.mk".
#
# This enables automatic .gitignore generation. If you need to ignore
# more files, add them to the GITIGNOREFILES variable in your Makefile.am.
# But think twice before doing that. If a file has to be in .gitignore,
# chances are very high that it's a generated file and should be in one
# of MOSTLYCLEANFILES, CLEANFILES, DISTCLEANFILES, or MAINTAINERCLEANFILES.
#
# The only case that you need to manually add a file to GITIGNOREFILES is
# when remove files in one of mostlyclean-local, clean-local, distclean-local,
# or maintainer-clean-local make targets.
#
# Note that for files like editor backup, etc, there are better places to
# ignore them. See "man gitignore".
#
# If "make maintainer-clean" removes the files but they are not recognized
# by this script (that is, if "git status" shows untracked files still), send
# me the output of "git status" as well as your Makefile.am and Makefile for
# the directories involved and I'll diagnose.
#
# For a list of toplevel files that should be in MAINTAINERCLEANFILES, see
# Makefile.am.sample in the git.mk git repo.
#
# Don't EXTRA_DIST this file. It is supposed to only live in git clones,
# not tarballs. It serves no useful purpose in tarballs and clutters the
# build dir.
#
# This file knows how to handle autoconf, automake, libtool, gtk-doc,
# gnome-doc-utils, yelp.m4, mallard, intltool, gsettings, dejagnu, appdata,
# appstream.
#
# This makefile provides the following targets:
#
# - all: "make all" will build all gitignore files.
# - gitignore: makes all gitignore files in the current dir and subdirs.
# - .gitignore: make gitignore file for the current dir.
# - gitignore-recurse: makes all gitignore files in the subdirs.
#
# KNOWN ISSUES:
#
# - Recursive configure doesn't work as $(top_srcdir)/git.mk inside the
# submodule doesn't find us. If you have configure.{in,ac} files in
# subdirs, add a proxy git.mk file in those dirs that simply does:
# "include $(top_srcdir)/../git.mk". Add more ..'s to your taste.
# And add those files to git. See vte/gnome-pty-helper/git.mk for
# example.
#
###############################################################################
# Variables user modules may want to add to toplevel MAINTAINERCLEANFILES:
###############################################################################
#
# Most autotools-using modules should be fine including this variable in their
# toplevel MAINTAINERCLEANFILES:
GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL = \
$(srcdir)/aclocal.m4 \
$(srcdir)/autoscan.log \
$(srcdir)/configure.scan \
`AUX_DIR=$(srcdir)/$$(cd $(top_srcdir); $(AUTOCONF) --trace 'AC_CONFIG_AUX_DIR:$$1' ./configure.ac); \
test "x$$AUX_DIR" = "x$(srcdir)/" && AUX_DIR=$(srcdir); \
for x in \
ar-lib \
compile \
config.guess \
config.sub \
depcomp \
install-sh \
ltmain.sh \
missing \
mkinstalldirs \
test-driver \
ylwrap \
; do echo "$$AUX_DIR/$$x"; done` \
`cd $(top_srcdir); $(AUTOCONF) --trace 'AC_CONFIG_HEADERS:$$1' ./configure.ac | \
head -n 1 | while read f; do echo "$(srcdir)/$$f.in"; done`
#
# All modules should also be fine including the following variable, which
# removes automake-generated Makefile.in files:
GITIGNORE_MAINTAINERCLEANFILES_MAKEFILE_IN = \
`cd $(top_srcdir); $(AUTOCONF) --trace 'AC_CONFIG_FILES:$$1' ./configure.ac | \
while read f; do \
case $$f in Makefile|*/Makefile) \
test -f "$(srcdir)/$$f.am" && echo "$(srcdir)/$$f.in";; esac; \
done`
#
# Modules that use libtool and use AC_CONFIG_MACRO_DIR() may also include this,
# though it's harmless to include regardless.
GITIGNORE_MAINTAINERCLEANFILES_M4_LIBTOOL = \
`MACRO_DIR=$(srcdir)/$$(cd $(top_srcdir); $(AUTOCONF) --trace 'AC_CONFIG_MACRO_DIR:$$1' ./configure.ac); \
if test "x$$MACRO_DIR" != "x$(srcdir)/"; then \
for x in \
libtool.m4 \
ltoptions.m4 \
ltsugar.m4 \
ltversion.m4 \
lt~obsolete.m4 \
; do echo "$$MACRO_DIR/$$x"; done; \
fi`
###############################################################################
# Default rule is to install ourselves in all Makefile.am files:
###############################################################################
git-all: git-mk-install
git-mk-install:
@echo "Installing git makefile"
@any_failed=; \
find "`test -z "$(top_srcdir)" && echo . || echo "$(top_srcdir)"`" -name Makefile.am | while read x; do \
if grep 'include .*/git.mk' $$x >/dev/null; then \
echo "$$x already includes git.mk"; \
else \
failed=; \
echo "Updating $$x"; \
{ cat $$x; \
echo ''; \
echo '-include $$(top_srcdir)/git.mk'; \
} > $$x.tmp || failed=1; \
if test x$$failed = x; then \
mv $$x.tmp $$x || failed=1; \
fi; \
if test x$$failed = x; then : else \
echo "Failed updating $$x"; >&2 \
any_failed=1; \
fi; \
fi; done; test -z "$$any_failed"
git-mk-update:
wget $(GIT_MK_URL) -O $(top_srcdir)/git.mk
.PHONY: git-all git-mk-install git-mk-update
###############################################################################
# Actual .gitignore generation:
###############################################################################
$(srcdir)/.gitignore: Makefile.am $(top_srcdir)/git.mk
@echo "git.mk: Generating $@"
@{ \
if test "x$(DOC_MODULE)" = x -o "x$(DOC_MAIN_SGML_FILE)" = x; then :; else \
for x in \
$(DOC_MODULE)-decl-list.txt \
$(DOC_MODULE)-decl.txt \
tmpl/$(DOC_MODULE)-unused.sgml \
"tmpl/*.bak" \
xml html \
; do echo "/$$x"; done; \
FLAVOR=$$(cd $(top_srcdir); $(AUTOCONF) --trace 'GTK_DOC_CHECK:$$2' ./configure.ac); \
case $$FLAVOR in *no-tmpl*) echo /tmpl;; esac; \
fi; \
if test "x$(DOC_MODULE)$(DOC_ID)" = x -o "x$(DOC_LINGUAS)" = x; then :; else \
for lc in $(DOC_LINGUAS); do \
for x in \
$(if $(DOC_MODULE),$(DOC_MODULE).xml) \
$(DOC_PAGES) \
$(DOC_INCLUDES) \
; do echo "/$$lc/$$x"; done; \
done; \
for x in \
$(_DOC_OMF_ALL) \
$(_DOC_DSK_ALL) \
$(_DOC_HTML_ALL) \
$(_DOC_MOFILES) \
$(DOC_H_FILE) \
"*/.xml2po.mo" \