diff --git a/core/build-system.html b/core/build-system.html
index bddde6a4d..95f35ce82 100644
--- a/core/build-system.html
+++ b/core/build-system.html
@@ -438,7 +438,7 @@ intermediates:= $(local-generated-sources-dir)
GEN := $(intermediates)/file.c
$(GEN): PRIVATE_INPUT_FILE := $(LOCAL_PATH)/input.file
$(GEN): PRIVATE_CUSTOM_TOOL = cat $(PRIVATE_INPUT_FILE) > $@
-$(GEN): $(LOCAL_PATH)/file.c
+$(GEN): $(LOCAL_PATH)/input.file
$(transform-generated-source)
LOCAL_GENERATED_SOURCES += $(GEN)