Skip to content

Commit 17ac6d4

Browse files
author
Sam Kleinman
committed
build: more clear dependencies for compiled makefile
1 parent a15f889 commit 17ac6d4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,12 @@ include bin/makefile.push
4747
-include $(output)/makefile.migrations
4848
-include $(output)/makefile.sphinx-migration
4949

50-
$(output)/makefile.%:bin/makefile-builder/%.py bin/makefile_builder.py bin/builder_data.py conf.py
50+
$(output)/makefile.%:bin/makefile-builder/%.py bin/makefile_builder.py bin/builder_data.py
5151
@mkdir -p $(output)
52-
@$(PYTHONBIN) bin/makefile-builder/$(subst .,,$(suffix $@)).py $@
52+
@$(PYTHONBIN) $< $@
53+
$(output)/makefile.intersphinx:bin/makefile-builder/intersphinx.py bin/makefile_builder.py conf.py
54+
@mkdir -p $(output)
55+
@$(PYTHONBIN) $< $@
5356

5457
############# Meta targets that control the build and publication process. #############
5558
.PHONY: publish publish-if-up-to-date

0 commit comments

Comments
 (0)