gsch2pcb: Make --m4-file and -m4-pcbdir arguments work again.
[geda-gaf/peter-b.git] / gsymcheck / docs / Makefile.am
blobda27b823922e2b427e2165ce7afef3f737408de7
2 EXTRA_DIST = $(html_man_files) gsymcheck.dox logo.png \
3              gsymcheck-main.txt what-is-geda.html what-is-gsymcheck.html
5 dist_man_MANS = gsymcheck.1
8 # Rules for converting man->html
9 html_man_files = gsymcheck.html
10 SUFFIXES = .1 .html
12 docsmandir=$(docdir)/man
13 docsman_DATA=$(html_man_files)
14 if ENABLE_GROFF_HTML
15 .1.html:
16         rm -rf $@.tmp && \
17         LC_NUMERIC=C $(GROFF) -man -T html  $< >$@.tmp && \
18         mv -f $@.tmp $@
19 else
20 .1.html:
21         @echo "No working groff available: cannot create $@"
22         @! :
23 endif
25 doxygen: gsymcheck.dox
26         @echo 'Creating doxygen documentation for gsymcheck...'
27 if ENABLE_DOXYGEN
28         $(DOXYGEN) gsymcheck.dox
29 else
30         @echo 'configure was not run with the --enable-doxygen switch.'
31         @echo 'The documentation cannot be built from the sources.'
32 endif
36 MOSTLYCLEANFILES = *.log *~
37 CLEANFILES = *.log *~ gsymcheck.html
38 DISTCLEANFILES = *.log core FILE *~
39 MAINTAINERCLEANFILES = *.log *~ Makefile.in $(html_man_files)
41 distclean-local:
42         -rm -rf html latex
44 maintainer-clean-local:
45         -rm -rf html latex