23 lines
595 B
Makefile
23 lines
595 B
Makefile
dist_man_MANS= $(top_srcdir)/docs/man/man1/ttail.1
|
|
if HAVE_DOXYGEN
|
|
CLEANFILES = doxyfile.stamp
|
|
|
|
doxyfile.stamp:
|
|
$(DOXYGEN) Doxyfile; \
|
|
echo Timestamp > doxyfile.stamp; \
|
|
make manpage
|
|
|
|
|
|
html-local: doxyfile.stamp
|
|
|
|
$(top_srcdir)/docs/man/man1/ttail.1: doxyfile.stamp
|
|
|
|
manpage:
|
|
-mkdir -p $(top_srcdir)/docs/man/man1;\
|
|
cp $(top_srcdir)/docs/man/man3/ttail.3 $(top_srcdir)/docs/man/man1/ttail.1;\
|
|
sed -i 's/^.TH "ttail" 3/.TH "ttail" 1/' $(top_srcdir)/docs/man/man1/ttail.1
|
|
|
|
clean-local:
|
|
-rm -rf $(top_srcdir)/docs/html $(top_srcdir)/docs/man/man3 $(top_srcdir)/docs/doxygen_sqlite3.db
|
|
|
|
endif
|