~ubuntu-branches/ubuntu/precise/eglibc/precise

« back to all changes in this revision

Viewing changes to manual/Makefile

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2011-10-04 17:48:26 UTC
  • mfrom: (216.1.23 oneiric)
  • Revision ID: package-import@ubuntu.com-20111004174826-2cyb9ewn3ucymlsx
Tags: 2.13-20ubuntu5
libc6-dev: Don't break the current {gnat,gcj}-4.4-base versons. LP: #853688.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 1992-1999,2000,2001,2002,2003,2004,2006,2011
 
1
# Copyright (C) 1992-1999,2000,2001,2002,2003,2004,2006
2
2
#       Free Software Foundation, Inc.
3
3
# This file is part of the GNU C Library.
4
4
 
59
59
                       resource setjmp signal startup process job nss   \
60
60
                       users sysinfo conf crypt debug)
61
61
add-chapters = $(wildcard $(foreach d, $(add-ons), ../$d/$d.texi))
62
 
appendices = lang.texi header.texi install.texi maint.texi contrib.texi
63
 
licenses = freemanuals.texi lgpl-2.1.texi fdl-1.1.texi
 
62
appendices = lang.texi header.texi install.texi maint.texi contrib.texi \
 
63
             freemanuals.texi
64
64
 
65
65
-include $(objpfx)texis
66
 
$(objpfx)texis: texis.awk $(chapters) $(add-chapters) $(appendices) $(licenses)
 
66
$(objpfx)texis: texis.awk $(chapters) $(add-chapters) $(appendices) lesser.texi fdl.texi
67
67
        $(make-target-directory)
68
68
        $(AWK) -f $^ > $@.T
69
69
        mv -f $@.T $@
74
74
 
75
75
# Kludge: implicit rule so Make knows the one command does it all.
76
76
chapters.% top-menu.%: libc-texinfo.sh $(texis) Makefile
77
 
        AWK=$(AWK) $(SHELL) $< '$(chapters)' \
78
 
                               '$(add-chapters)' \
79
 
                               '$(appendices) $(licenses)'
 
77
        AWK=$(AWK) $(SHELL) $< '$(chapters)' '$(add-chapters)' '$(appendices)'
80
78
 
81
79
libc.dvi libc.pdf libc.info: chapters.texi top-menu.texi dir-add.texi \
82
80
                             libm-err.texi pkgvers.texi
116
114
# Package version and bug reporting URL.
117
115
pkgvers.texi: stamp-pkgvers
118
116
stamp-pkgvers:
119
 
        echo "@set PKGVERSION $(PKGVERSION_TEXI)" > pkgvers-tmp
120
 
        echo "@set REPORT_BUGS_TO $(REPORT_BUGS_TEXI)" >> pkgvers-tmp
 
117
        echo "@set PKGVERSION $(PKGVERSION)" > pkgvers-tmp
 
118
        echo "@set REPORT_BUGS_TO $(REPORT_BUGS_TO)" \
 
119
          | sed -e 's/@/@@/g' >> pkgvers-tmp
121
120
        $(move-if-change) pkgvers-tmp pkgvers.texi
122
121
        touch $@
123
122