Skip to content

Makefile - folders not found #2442

Open
@bebatut

Description

@bebatut

What is the issue?

On fresh install of the repository, the first make commands are not failing but show on the top:

find: ‘_site/training-material’: No such file or directory
find: ‘_site/training-material/*/*/slides/*’: No such file or directory
find: ‘_site/training-material’: No such file or directory

I am afraid it may be confusing for newcomers.

How to fix that?

This comes from these 3 lines in the makefile

TUTORIAL_PDFS=$(shell find _site/training-material -name 'tutorial.html' | sed 's/html$$/pdf/g')
SLIDE_PDFS=$(shell find _site/training-material -name 'slides.html' | sed 's/html$$/pdf/g')
SLIDE_PDFS+=$(shell find _site/training-material/*/*/slides/* | sed 's/html$$/pdf/g')

It may be great to check if _site folder exists before running this command.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions