Skip to content

Commit

Permalink
Prevent git from using a pager in makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
cedounet committed Dec 26, 2024
1 parent 424f4c8 commit 296461f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion book/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ REDUCE_PIC := -resize '800x800>' \
-strip -interlace Plane -gaussian-blur 0.05 -quality 85\% \
-set colorspace Gray -separate -evaluate-sequence Mean
RSYNC := rsync -au --exclude 'book.epub' --exclude '*.jpg' --exclude '*.png'
GIT := git --no-pager

# We want bash as shell
SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
Expand Down Expand Up @@ -309,7 +310,7 @@ quick_ebook: cover/cover-page.xbb # run latex only once no biber, ref etc...
$(EBOOK) --mode draft book.tex

show_tools_version: # Show version of tools used on the build machine
- git log -n 1
- $(GIT) log -1 --pretty=%B
@echo ""
- uname -a
@echo ""
Expand Down

0 comments on commit 296461f

Please sign in to comment.