diff options
author | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2019-04-30 18:51:47 +0100 |
---|---|---|
committer | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2019-04-30 18:56:21 +0100 |
commit | b0993336112b244ea7e919d96ffdbaf167831b9d (patch) | |
tree | 57e00b4bea4f11254e1de31454176bdc4e80c208 /reproduce/analysis | |
parent | cd73f88157764334e96fa6f286687e3fa9b061fd (diff) |
End-of-line Backslashs no longer right under each other
When we need to quote the new-line character we end the line with a
backslash (`\'). Until now, our convention has been to put all such
backslashes under each other to help in visual inspection.
But this causes a lot of confusion in version control: if only one line's
length is larger, the whole block will be marked as changed and thus makes
it hard to visually see the actual change. It also makes debuging the code
(adding some temporary lines) hard.
With this commit, I went through all the files and tried to fix all such
cases so only a single white space character is between the last command
character and the backslash. Where there was an empty line (ending with a
backslash, to help in visually separating the code into blocks), I put the
backslash right under the previous line's.
This completes task #15259.
Diffstat (limited to 'reproduce/analysis')
-rw-r--r-- | reproduce/analysis/make/paper.mk | 2 | ||||
-rw-r--r-- | reproduce/analysis/make/top.mk | 16 |
2 files changed, 9 insertions, 9 deletions
diff --git a/reproduce/analysis/make/paper.mk b/reproduce/analysis/make/paper.mk index 549b7c0..c1d5b33 100644 --- a/reproduce/analysis/make/paper.mk +++ b/reproduce/analysis/make/paper.mk @@ -118,7 +118,7 @@ $(texbdir)/paper.bbl: tex/src/references.tex $(mtexdir)/dependencies-bib.tex \ # to run everything cleanly from there, it is necessary to add the current # directory (top project directory) to the `TEXINPUTS' environment # variable. -paper.pdf: $(mtexdir)/project.tex paper.tex $(texbdir)/paper.bbl \ +paper.pdf: $(mtexdir)/project.tex paper.tex $(texbdir)/paper.bbl \ | $(tikzdir) $(texbdir) # If `$(mtexdir)/project.tex' is empty, don't build the PDF. diff --git a/reproduce/analysis/make/top.mk b/reproduce/analysis/make/top.mk index a85c530..b753979 100644 --- a/reproduce/analysis/make/top.mk +++ b/reproduce/analysis/make/top.mk @@ -68,12 +68,12 @@ ifeq (x$(reproducible_paper_group_name),x$(GROUP-NAME)) all: paper.pdf else all: - @if [ "x$(GROUP-NAME)" = x ]; then \ + @if [ "x$(GROUP-NAME)" = x ]; then \ echo "Project is NOT configured for groups, please run"; \ - echo " $$ .local/bin/make"; \ - else \ - echo "Project is configured for groups, please run"; \ - echo " $$ ./for-group $(GROUP-NAME) make -j8"; \ + echo " $$ .local/bin/make"; \ + else \ + echo "Project is configured for groups, please run"; \ + echo " $$ ./for-group $(GROUP-NAME) make -j8"; \ fi endif @@ -110,9 +110,9 @@ endif # a `foreach' loop in the next step to explicitly request loading them in # the same order that they are defined here (we aren't just using a # wild-card like the configuration Makefiles). -makesrc = initialize \ - download \ - delete-me \ +makesrc = initialize \ + download \ + delete-me \ paper |