Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Silence warning on first build #458

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DavidSchinazi
Copy link
Contributor

When a draft is built for the first time, it always prints this error log:

Makefile:2: lib/main.mk: No such file or directory

Switching include to -include will silence the error, since it is always expected on first launch.

When a draft is built for the first time, it always prints this error log:
```
Makefile:2: lib/main.mk: No such file or directory
```

Switching `include` to `-include` will silence the error, since it is
always expected on first launch.
@@ -1,5 +1,5 @@
LIBDIR := lib
include $(LIBDIR)/main.mk
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't that simple, sadly.

I do like this change, but I'll need to tweak update.mk to match. It's a bit involved, sadly.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A tragedy in 3 acts

  • "oh how hard could it be?"
  • checks update.mk
  • slowly backs away from keyboard

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😁 Leave it with me. I've got a lot of work right now, but I know how to drive that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! This is incredibly low impact and priority so no rush :-)

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.

2 participants