diff --git a/doc/Makefile b/doc/Makefile index ef4a697..fbd4ce3 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -35,7 +35,7 @@ clean: if [ -n "$(OBJDIR)" ]; then \ $(MAKE) OBJDIR="$(OBJDIR)$$i/" clean; \ else $(MAKE) clean; fi) || exit; done - $(RM) -- $(configure.1_OBJS) $(configure.html_OBJS) $(project.conf.5_OBJS) $(project.conf.html_OBJS) + $(RM) -- ./scripts/docbook.sh -c -P "$(PREFIX)" -- "$(OBJDIR)configure.1" ./scripts/docbook.sh -c -P "$(PREFIX)" -- "$(OBJDIR)configure.html" ./scripts/docbook.sh -c -P "$(PREFIX)" -- "$(OBJDIR)project.conf.5" @@ -46,7 +46,7 @@ distclean: if [ -n "$(OBJDIR)" ]; then \ $(MAKE) OBJDIR="$(OBJDIR)$$i/" distclean; \ else $(MAKE) distclean; fi) || exit; done - $(RM) -- $(configure.1_OBJS) $(configure.html_OBJS) $(project.conf.5_OBJS) $(project.conf.html_OBJS) + $(RM) -- ./scripts/docbook.sh -c -P "$(PREFIX)" -- "$(OBJDIR)configure.1" ./scripts/docbook.sh -c -P "$(PREFIX)" -- "$(OBJDIR)configure.html" ./scripts/docbook.sh -c -P "$(PREFIX)" -- "$(OBJDIR)project.conf.5" diff --git a/tests/Makefile b/tests/Makefile index 92b4753..dd2cdd7 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -38,7 +38,7 @@ $(OBJDIR)xmllint.log: ../doc/scripts/xmllint.sh ../doc/scripts/xmllint.sh -P "$(PREFIX)" -- "$(OBJDIR)xmllint.log" clean: - $(RM) -- $(clint.log_OBJS) $(coverage.log_OBJS) $(fixme.log_OBJS) $(htmllint.log_OBJS) $(phplint.log_OBJS) $(pylint.log_OBJS) $(shlint.log_OBJS) $(tests.log_OBJS) $(xmllint.log_OBJS) + $(RM) -- ../doc/scripts/clint.sh -c -P "$(PREFIX)" -- "$(OBJDIR)clint.log" ../doc/scripts/coverage.sh -c -P "$(PREFIX)" -- "$(OBJDIR)coverage.log" ../doc/scripts/fixme.sh -c -P "$(PREFIX)" -- "$(OBJDIR)fixme.log"