Add new make target 'cleanall'. Its responsibility is to remove *all*

possible generated files (make clean is called for all known formats).

It can be useful when default FORMATS for document has different value
than was used in build.

Reviewed by:	nik
This commit is contained in:
Alexey Zelkin 2001-12-13 23:51:26 +00:00
parent 1639c44ddd
commit 987c1c8bed
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=11437

View file

@ -41,11 +41,16 @@
# here.
#
# clean:
# Remove files created by the build process.
# Remove files created by the build process (using
# defaults specified by environment)
#
# cleandir:
# Remove the object directory, if any.
#
# cleanall:
# Remove all possible generated files (all predictable
# combinations of ${FORMAT} values)
#
.if !target(__initialized__)
__initialized__:
@ -209,3 +214,6 @@ _IMAGESUBDIR: .USE
obj: _IMAGESUBDIR
.endif
cleanall:
${MAKE} FORMATS="${ALL_FORMATS}" clean