makefile name variable does not work

Open Beginner friendly
#7 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
tex
Domain
build-system

Research direction

Inspect the Makefile example and EPFLreport.sty, starting at the fixed \addbibresource{thesis.bib} line. Check how the name variable is used when thesis.tex and thesis.bib are renamed, then verify that changing the variable to report lets the document build successfully with rubber.

Written by the indexing model from the issue text.

Description

Here:

name=thesis

all: *.tex *.bib 
	rubber --pdf $(name).tex

clean:
	rubber --clean --pdf $(name).tex

This implies that one can change the name variable to get a differently named document, e.g. changing to name=report and then doing:

mv thesis.tex report.tex
mv thesis.bib report.bib
make

But this does not work because of

\addbibresource{thesis.bib}

in EPFLreport.sty

Dominant language
TeX
Stars
143
Forks
99
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Similar issues

More Build System issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.