aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile19
-rw-r--r--using-git.texinfo11
2 files changed, 23 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 72df850..9ab3563 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,8 @@ TEXINFO_DIR = .
PREFIX = /usr
DATA = /share
+TEXIFLAGS = #--force
+
.PHONY: all
@@ -43,17 +45,26 @@ pdf: $(PROGRAM).pdf.gz
ps: $(PROGRAM).ps.gz
dvi: $(PROGRAM).dvi.gz
+#logo.pdf: logo.svg
+# rsvg-convert --format=pdf "$<" > "$@"
+
+#logo.eps: obj/logo.ps
+# ps2eps "$<"
+
+#logo.ps: logo.svg
+# rsvg-convert --format=ps "$<" > "$@"
+
%.info: $(TEXINFO_DIR)/%.texinfo
- $(MAKEINFO) "$<"
+ $(MAKEINFO) $(TEXIFLAGS) "$<"
%.pdf: $(TEXINFO_DIR)/%.texinfo
- texi2pdf "$<"
+ texi2pdf $(TEXIFLAGS) "$<"
%.dvi: $(TEXINFO_DIR)/%.texinfo
- $(TEXI2DVI) "$<"
+ $(TEXI2DVI) $(TEXIFLAGS) "$<"
%.ps: $(TEXINFO_DIR)/%.texinfo
- texi2pdf --ps "$<"
+ texi2pdf $(TEXIFLAGS) --ps "$<"
.PHONY: install-info
install: install-info
diff --git a/using-git.texinfo b/using-git.texinfo
index ac3172f..7404fb4 100644
--- a/using-git.texinfo
+++ b/using-git.texinfo
@@ -4,8 +4,16 @@
@setfilename using-git.info
@settitle using git
@afourpaper
+@c @afourpaper
@documentencoding UTF-8
@documentlanguage en
+
+@c @set HARD_COPY_EDITION
+@c @smallbook
+@ifset HARD_COPY_EDITION
+@cropmarks
+@setchapternewpage odd
+@endif
@finalout
@c %**end of header
@@ -17,9 +25,6 @@
@end direntry
-@c @set HARD_COPY_EDITION
-@c @smallbook
-
@macro prelude
@center @titlefont{Prelude}