Skip to content

Conversation

@webwarrior-ws
Copy link
Contributor

@webwarrior-ws webwarrior-ws commented Aug 18, 2025

If there is a file or directory named the same as target
('docs' in this case) in current directory, Make treats that
target as a file target. Since the file (dir in this case)
already exists and has no dependencies (or its dependencies
are older), Make considered it "up to date" and skipped execution.

To avoid this, we now use a .PHONY target to tell Make that 'docs'
is not a real file.

Fixes #768

@knocte
Copy link
Collaborator

knocte commented Aug 18, 2025

Thanks @webwarrior-ws good catch. Maybe the better approach here is actually move the docs target to a Makefile inside the docs folder? Let's try that approach in a 2nd commit and I will decide what looks better.

@webwarrior-ws webwarrior-ws force-pushed the ci-fix-docs branch 2 times, most recently from eeef0ea to 40ead10 Compare August 21, 2025 09:11
@Numpsy Numpsy mentioned this pull request Oct 16, 2025
@webwarrior-ws
Copy link
Contributor Author

LGTM

If there is a file or directory named the same as target
('docs' in this case) in current directory, Make treats that
target as a file target. Since the file (dir in this case)
already exists and has no dependencies (or its dependencies
are older), Make considered it "up to date" and skipped execution.

To avoid this, we now use a .PHONY target to tell Make that 'docs'
is not a real file.

Fixes fsprojects#768
@knocte knocte merged commit 1d47d7c into fsprojects:master Nov 5, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Documentation Link down

2 participants