Skip to content

Commit fde9295

Browse files
committed
fix: another fix for the Makefile
1 parent 92a5bb8 commit fde9295

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
ifneq ($(MAKEFILE_LIST),$(firstword $(MAKEFILE_LIST)))
2-
$(error This Makefile is meant to be included, not executed directly)
1+
ifeq ($(realpath $(lastword $(MAKEFILE_LIST))), $(realpath $(firstword $(MAKEFILE_LIST))))
2+
$(error The Makefile in @openapi-typescript-infra/service is meant to be included, not executed directly)
33
endif
44

55
# This Makefile is intended to be called by higher level/project Makefiles

0 commit comments

Comments
 (0)