~ubuntu-branches/ubuntu/raring/findutils/raring

« back to all changes in this revision

Viewing changes to doc/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2008-05-06 11:32:24 UTC
  • mfrom: (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 23.
  • Revision ID: james.westby@ubuntu.com-20080506113224-gy4ecmxu48tnvva4
Tags: upstream-4.4.0
ImportĀ upstreamĀ versionĀ 4.4.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
info_TEXINFOS = find.texi
2
 
find_TEXINFOS = perm.texi fdl.texi regexprops.texi
 
1
info_TEXINFOS = find.texi find-maint.texi
 
2
find_TEXINFOS = perm.texi getdate.texi regexprops.texi fdl.texi
 
3
find_maint_TEXINFOS = fdl.texi
3
4
MOSTLYCLEANFILES = find.cps 
4
 
CLEANFILES = find.txt find_mono.html findutils.texi_html_node.tar.gz 
 
5
CLEANFILES = find.txt find_mono.html findutils.texi_html_node.tar.gz
5
6
 
6
7
# To build regexprops.texi, we need to build the regexprops program and 
7
8
# run it on the host.  If we are cross compiling, we may not have a native
8
9
# binary.  When this is the case, we use a workaround; don't delete the 
9
10
# file for 'make clean'.  This fixes Savannah bug #19658.
10
11
if !CROSS_COMPILING
11
 
CLEANFILES += regexprops.texi
 
12
CLEANFILES += regexprops.texi regexprops-generic.texi
12
13
endif
13
14
 
14
15
MAKEINFOTXT = $(MAKEINFO) --plaintext
60
61
        tar zcf $@ $<
61
62
 
62
63
if CROSS_COMPILING
63
 
regexprops.texi: ../gnulib/lib/regex.h
 
64
regexprops.texi regexprops-generic.texi: ../gnulib/lib/regex.h
64
65
        echo "WARNING: $? is newer than $@ but $@ cannot be rebuilt because we are cross-compiling.   Continuing anyway." >&2
65
66
else
66
 
regexprops.texi: ../gnulib/lib/regex.h
67
 
        cd ../lib && $(MAKE) $(AM_MAKEFLAGS) regexprops$(EXEEXT)
68
 
        ../lib/regexprops$(EXEEXT) "Regular Expressions" > $@
69
 
        $(RM) ../lib/regexprops$(EXEEXT)
 
67
regexprops.texi: ../gnulib/lib/regex.h ../lib/regexprops.c
 
68
        cd ../lib && $(MAKE) $(AM_MAKEFLAGS) regexprops$(EXEEXT)
 
69
        ../lib/regexprops$(EXEEXT) "Regular Expressions" findutils > $@
 
70
        rm ../lib/regexprops$(EXEEXT)
 
71
regexprops-generic.texi: ../gnulib/lib/regex.h ../lib/regexprops.c
 
72
        cd ../lib && $(MAKE) $(AM_MAKEFLAGS) regexprops$(EXEEXT)
 
73
        ../lib/regexprops$(EXEEXT) "Regular Expressions" generic > $@
 
74
        rm ../lib/regexprops$(EXEEXT)
70
75
endif