~ubuntu-branches/ubuntu/utopic/coreutils/utopic-proposed

« back to all changes in this revision

Viewing changes to doc/local.mk

  • Committer: Colin Watson
  • Date: 2013-10-30 15:48:33 UTC
  • mfrom: (8.3.5 sid)
  • Revision ID: cjwatson@canonical.com-20131030154833-xdt6e1yfffqom1c4
merge from Debian 8.21-1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Make coreutils documentation.                         -*-Makefile-*-
2
2
# This is included by the top-level Makefile.am.
3
3
 
4
 
# Copyright (C) 1995-2012 Free Software Foundation, Inc.
 
4
# Copyright (C) 1995-2013 Free Software Foundation, Inc.
5
5
 
6
6
# This program is free software: you can redistribute it and/or modify
7
7
# it under the terms of the GNU General Public License as published by
36
36
 
37
37
doc/constants.texi: $(top_srcdir)/src/tail.c $(top_srcdir)/src/shred.c
38
38
        $(AM_V_GEN)LC_ALL=C; export LC_ALL; \
 
39
        $(MKDIR_P) doc && \
39
40
        { sed -n -e 's/^#define \(DEFAULT_MAX[_A-Z]*\) \(.*\)/@set \1 \2/p' \
40
41
            $(top_srcdir)/src/tail.c && \
41
42
          sed -n -e \
57
58
  sc-avoid-timezone     \
58
59
  sc-avoid-zeroes       \
59
60
  sc-exponent-grouping  \
60
 
  sc-lower-case-var     \
61
 
  sc-use-small-caps-NUL
 
61
  sc-lower-case-var
62
62
 
63
63
texi_files = $(srcdir)/doc/*.texi
64
64
 
96
96
sc-exponent-grouping:
97
97
        $(AM_V_GEN)$(EGREP) '\{.*\^[0-9][0-9]' $(texi_files) && exit 1 || :
98
98
 
99
 
# E.g., use @sc{nul}, not NUL.
100
 
sc-use-small-caps-NUL:
101
 
        $(AM_V_GEN)$(EGREP) '$(_W)NUL$(W_)' $(texi_files) && exit 1 || :
102
 
 
103
99
# Say I/O, not IO.
104
100
sc-avoid-io:
105
101
        $(AM_V_GEN)$(EGREP) '$(_W)IO$(W_)' $(texi_files) && exit 1 || :