Skip to content

Commit 5e9221d

Browse files
authored
Merge pull request #1621 from smoe/better_clean
Better clean of auto-generated files
2 parents bb1ba63 + db9db63 commit 5e9221d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

debian/rules.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ endif
5959
override_dh_auto_clean:
6060
dh_auto_clean
6161
py3clean .
62-
if [ -r src/Makefile.inc -a -r src/config.status ]; then cd src && $(MAKE) clean modclean -s; fi
62+
if [ -r src/Makefile.inc -a -r src/config.status ]; then $(MAKE) -C src clean -s; fi
6363
rm -f Makefile.inc
6464
rm -f src/config.log src/config.status
6565
rm -f $(for i in $(find . -name "*.in"); do basename $i .in; done)

docs/src/Submakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,12 +328,12 @@ docs: manpages
328328
manpages: $(GENERATED_MANPAGES)
329329

330330
clean: clean-manpages clean-translated
331+
find $(DOC_SRCDIR) -name index*db -delete
331332
clean-manpages:
332333
-rm -f $(GENERATED_MANPAGES)
333334
clean-translated:
334335
-$(RM) -r $(GENERATED_TRANSLATED)
335336

336-
337337
DOTFILES=$(shell find . -name "*.dot") $(shell find ../docs/src/ -name "*.dot")
338338
.PHONY: svgs_made_from_dots
339339
svgs_made_from_dots: $(DOTFILES:.dot=.svg)

0 commit comments

Comments
 (0)