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:
parent
1639c44ddd
commit
987c1c8bed
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=11437
1 changed files with 9 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue