Browse Source

doc/Makefile: add docclean rule

This allows to clean the doc directory from the parent project dir.
The command:
make -C doc clean

does not work as long as the paths specified in doc/Makefile are relative
to the parent dir.

Also it is consitent with "testclean" and "distclean" targets.
tags/n1.1
Stefano Sabatini 13 years ago
parent
commit
9bba683578
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      doc/Makefile

+ 2
- 0
doc/Makefile View File

@@ -93,6 +93,8 @@ uninstall: uninstall-man
uninstall-man:
$(RM) $(addprefix "$(MANDIR)/man1/",$(ALLMANPAGES))

docclean: clean

clean::
$(RM) $(TXTPAGES) doc/*.html doc/*.pod doc/*.1 doc/*.3 $(CLEANSUFFIXES:%=doc/%) doc/avoptions_*.texi
$(RM) -r doc/doxy/html


Loading…
Cancel
Save