~ubuntu-branches/ubuntu/oneiric/gnome-doc-utils/oneiric-201107060459

« back to all changes in this revision

Viewing changes to rng/mallard/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2009-08-28 14:28:54 UTC
  • mfrom: (1.2.5 upstream)
  • mto: (2.3.1 sid) (1.4.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 38.
  • Revision ID: james.westby@ubuntu.com-20090828142854-aosckqlztf5d6doe
Tags: upstream-0.17.4
ImportĀ upstreamĀ versionĀ 0.17.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
207
207
top_build_prefix = @top_build_prefix@
208
208
top_builddir = @top_builddir@
209
209
top_srcdir = @top_srcdir@
 
210
AUTOMAKE_OPTIONS = -Wno-portability
210
211
_specs1 = $(top_srcdir)/doc/mallard/C/mal_page.page   \
211
212
        $(top_srcdir)/doc/mallard/C/mal_block.page  $(wildcard $(top_srcdir)/doc/mallard/C/mal_block_*.page) \
212
213
        $(top_srcdir)/doc/mallard/C/mal_inline.page $(wildcard $(top_srcdir)/doc/mallard/C/mal_inline_*.page)
399
400
        mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \
400
401
        uninstall-am uninstall-specDATA
401
402
 
 
403
 
402
404
all: mallard.rnc mallard.rng
403
405
 
404
406
mallard.rnc: $(wildcard $(top_srcdir)/doc/mallard/C/*.page)
406
408
          xsltproc $(srcdir)/mal2rnc.xsl $$file; \
407
409
        done > mallard.rnc
408
410
 
 
411
# http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=1236105
 
412
# This bug in gawk on solaris causes rnc2rng to fail it mysterious and
 
413
# spectacular ways.  See comment #13 here for more details:
 
414
# http://bugzilla.gnome.org/show_bug.cgi?id=590694
 
415
# Unsetting LANG for the awk call works around this.
409
416
mallard.rng: mallard.rnc rnc2rng.awk
410
 
        awk -f $(srcdir)/rnc2rng.awk mallard.rnc > $@.tmp || ( rm -f $@.tmp && exit 1 )
 
417
        LANG= $(GDU_AWK) -f $(srcdir)/rnc2rng.awk mallard.rnc > $@.tmp || ( rm -f $@.tmp && exit 1 )
411
418
        xmllint --format $@.tmp | \
412
419
          sed -e 's/^  //' \
413
420
              -e 's/ xmlns/\n    xmlns/g' \