Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Clean generated documentation on distclean

  • Loading branch information...
commit e26fc21a78f810c097ab22fb737486105ea6b8cc 1 parent f1a88c1
@stephane authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 doc/Makefile.am
View
10 doc/Makefile.am
@@ -1,3 +1,6 @@
+EXTRA_DIST = asciidoc.conf
+CLEANFILES =
+
MAN3 = \
modbus_close.3 \
modbus_connect.3 \
@@ -58,7 +61,7 @@ dist_man_MANS = $(MAN_DOC)
doc: $(MAN_DOC)
endif
-EXTRA_DIST = asciidoc.conf $(MAN_TXT)
+EXTRA_DIST += $(MAN_TXT)
if BUILD_DOC
EXTRA_DIST += $(MAN_HTML)
html: $(MAN_HTML)
@@ -84,8 +87,5 @@ SUFFIXES=.html .txt .xml .1 .3 .7
.xml.7:
xmlto man $<
-clean:
- rm -f *.1 *.3 *.7
- rm -f *.html
-
+CLEANFILES += *.1 *.3 *.7 *.html
endif
Please sign in to comment.
Something went wrong with that request. Please try again.