1 EXTRA_DIST = $(html_man_files) gschem-main.txt what-is-geda.html \
2 what-is-gschem.html logo.png gschem.dox gschem.1.in
5 @echo 'Type: make doxygen to create doxygen documentation for gschem'
8 @echo 'Creating doxygen documentation for gschem...'
10 cd $(srcdir) && $(DOXYGEN) gschem.dox
12 @echo 'configure was not run with the --enable-doxygen switch.'
13 @echo 'The documentation cannot be built from the sources.'
16 dist_man_MANS = gschem.1
20 d=`$(GUILE) -c '(setlocale LC_ALL "C") \
21 (display (strftime "%B %-d, %Y" \
22 (car (strptime "%Y%m%d" (cadr (program-arguments))))))' $(DATE_VERSION)` ; \
23 v="$(DOTTED_VERSION).$(DATE_VERSION)" ; \
24 y=`echo $(DATE_VERSION)| sed -e"s/\(....\).*/\1/"`; \
25 sed -e"s:[@]DATE@:$$d:" -e"s:[@]VERSION@:$$v:" -e"s:[@]YEAR@:$$y:" < $< > $@
27 # Rules for converting man->html
30 html_man_files += gschem.html
32 SUFFIXES = .1.in .1 .html
34 docsmandir=$(docdir)/man
35 docsman_DATA=$(html_man_files)
40 LC_NUMERIC=C $(GROFF) -man -T html $< >$@.tmp && \
44 @echo "No working groff available: cannot create $@"
49 MOSTLYCLEANFILES = *.log *~
51 DISTCLEANFILES = *.log core FILE *~ \
52 *.dvi *.info *.info-* *.aux *.fn \
53 *.fns *.cp *.ky *.pg *.toc *.tp *.vrs *.vr
54 MAINTAINERCLEANFILES = *.log *~ Makefile.in $(html_man_files)
59 maintainer-clean-local: