|
@@ -1,23 +1,23 @@
|
1
|
1
|
dist_man_MANS= $(top_srcdir)/docs/man/man1/ttail.1
|
2
|
2
|
if HAVE_DOXYGEN
|
3
|
3
|
CLEANFILES = doxyfile.stamp
|
4
|
|
-directory = $(top_srcdir)/docs/man/man3/
|
5
|
|
-
|
6
|
|
-$(directory)/man_page_1.3: doxyfile.stamp
|
7
|
|
-$(directory)/man_page_2.3: doxyfile.stamp
|
8
|
4
|
|
9
|
5
|
doxyfile.stamp:
|
10
|
|
- $(DOXYGEN) Doxyfile
|
11
|
|
- echo Timestamp > doxyfile.stamp
|
|
6
|
+ $(DOXYGEN) Doxyfile; \
|
|
7
|
+ echo Timestamp > doxyfile.stamp; \
|
|
8
|
+ make manpage
|
12
|
9
|
|
13
|
10
|
|
14
|
11
|
html-local: doxyfile.stamp
|
15
|
12
|
|
16
|
13
|
$(top_srcdir)/docs/man/man1/ttail.1: doxyfile.stamp
|
|
14
|
+
|
|
15
|
+manpage:
|
17
|
16
|
-mkdir -p $(top_srcdir)/docs/man/man1;\
|
18
|
17
|
cp $(top_srcdir)/docs/man/man3/ttail.3 $(top_srcdir)/docs/man/man1/ttail.1;\
|
19
|
18
|
sed -i 's/^.TH "ttail" 3/.TH "ttail" 1/' $(top_srcdir)/docs/man/man1/ttail.1
|
20
|
19
|
|
21
|
20
|
clean-local:
|
22
|
21
|
-rm -rf $(top_srcdir)/docs/html $(top_srcdir)/docs/man/man3 $(top_srcdir)/docs/doxygen_sqlite3.db
|
|
22
|
+
|
23
|
23
|
endif
|