refdes_renum: warn of possible number clash with non-conforming values
[geda-gaf/whiteaudio.git] / gattrib / docs / Makefile.am
blobf553945a34a7e47dcc9a5fb96a3faa1451872d42
1 EXTRA_DIST = gattrib.dox what-is-gattrib.html what-is-geda.html \
2              gattrib-main.txt logo.png
4 all: 
5         @echo 'Type: make doxygen  to create doxygen documentation for gattrib'
7 doxygen: gattrib.dox
8         @echo 'Creating doxygen documentation for gattrib...'
9 if ENABLE_DOXYGEN
10         $(DOXYGEN) gattrib.dox
11 else
12         @echo 'configure was not run with the --enable-doxygen switch.'
13         @echo 'The documentation cannot be built from the sources.'
14 endif
16 dist_man_MANS = gattrib.1
19 # Rules for converting man->html
20 html_man_files = gattrib.html
21 SUFFIXES = .1 .html
23 docsmandir=$(docdir)/man
24 dist_docsman_DATA=$(html_man_files)
25 if ENABLE_GROFF_HTML
26 .1.html:
27         rm -rf $@.tmp && \
28         LC_NUMERIC=C $(GROFF) -man -T html  $< >$@.tmp && \
29         mv -f $@.tmp $@
30 else
31 .1.html:
32         @echo "No working groff available: cannot create $@"
33         @! :
34 endif
36 MOSTLYCLEANFILES =      *.log *~
37 CLEANFILES =            *.log *~
38 DISTCLEANFILES =        *.log
39 MAINTAINERCLEANFILES =  *.log *~ Makefile.in
41 distclean-local:
42         -rm -rf html latex
44 maintainer-clean-local:
45         -rm -rf html latex