Added a new "NON-BUGS" section pointing out things that look like bugs
[findutils.git] / doc / Makefile.am
blobdf288177b68b609e46cd8ce2b7ad93f8dbe368a0
1 info_TEXINFOS = find.texi
2 find_TEXINFOS = perm.texi
3 MOSTLYCLEANFILES = find.cps 
4 CLEANFILES = find.txt find_mono.html findutils.texi_html_node.tar.gz
6 MAKEINFOTXT = $(MAKEINFO) --plaintext
8 find.txt: find.texi $(srcdir)/version.texi $(find_TEXINFOS)
10 # find.txt is a file which we need to know how to build 
11 # because it gets put on the www.gnu.org website.
12 # This rule is derived from the .texi.html rule.
13 .texi.txt:
14         rm -rf $(@:.txt=.tmp)
15         if $(MAKEINFOTXT) $(AM_MAKEINFOTXTFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
16          -o $(@:.txt=.tmp) $<; \
17         then \
18           rm -rf $@; \
19           if test ! -d $(@:.txt=.tmp) && test -d $(@:.txt=); then \
20             mv $(@:.txt=) $@; else mv $(@:.txt=.tmp) $@; fi; \
21         else \
22           if test ! -d $(@:.txt=.tmp) && test -d $(@:.txt=); then \
23             rm -rf $(@:.txt=); else rm -Rf $(@:.txt=.tmp) $@; fi; \
24           exit 1; \
25         fi
28 # find_mono.html is a file which we need to know how to build 
29 # because it gets put on the www.gnu.org website.
30 # This rule is derived from the generic .texi.html rule.
31 find_mono.html: find.texi
32         rm -rf $(@:.html=.htp)
33         if $(MAKEINFOHTML) --no-split $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
34          -o $(@:.html=.htp) $<; \
35         then \
36           rm -rf $@; \
37           if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
38             mv $(@:.html=) $@; else mv $(@:.html=.htp) $@; fi; \
39         else \
40           if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
41             rm -rf $(@:.html=); else rm -Rf $(@:.html=.htp) $@; fi; \
42           exit 1; \
43         fi
46 # findutils.texi_html_node.tar.gz is a file which we need to know
47 # how to build because it gets put on the www.gnu.org website.
48 # This rule depends on GNU tar, but it's principally used 
49 # by the maintainer, and we don't need to build the file 
50 # for "make all" or "make install" (or even "make check").
51 findutils.texi_html_node.tar.gz: find.html
52         tar zcf $@ $<