mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-18 07:54:36 +00:00
Do not remove api and website source files by accident
When the root source dir is used as root build dir, make clean can remove the content of ${abs_builddir}/api which is then equal to ${abs_srcdir}/api. Oops. This patch fixes this. * doc/Makefile.am: Do not remove the entirety of the build dir of doxygen for the apidoc and the website as these can be also the source dirs. Rather, remove that is under the html/ sub-directory of the build dir, as this is always generated by doxygen. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
56112bae3b
commit
8798649dbe
@ -59,7 +59,7 @@ CLEANFILES = $(DOXY_API_BLD_CFG) $(DOXY_WEBSITE_BLD_CFG)
|
||||
|
||||
# To remove directories.
|
||||
clean-local:
|
||||
-rm -rf $(DOXY_API_BLD_DIR) $(DOXY_WEBSITE_BLD_DIR)
|
||||
-rm -rf $(DOXY_API_BLD_DIR)/*/* $(DOXY_WEBSITE_BLD_DIR)/*/*
|
||||
|
||||
#To install everything:
|
||||
if ENABLE_APIDOC
|
||||
|
Loading…
Reference in New Issue
Block a user