aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-20 15:01:47 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-20 15:01:47 +0100
commitc5e4348681f23428b0036c45b64cca428e69d750 (patch)
tree064ec1d40a09a08be1672a2b9425c8f90daa9e2a /Makefile
parentoptimise implementations of {hton,ntoh}{s,l,ll} (diff)
downloadslibc-c5e4348681f23428b0036c45b64cca428e69d750.tar.gz
slibc-c5e4348681f23428b0036c45b64cca428e69d750.tar.bz2
slibc-c5e4348681f23428b0036c45b64cca428e69d750.tar.xz
...
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-rw-r--r--Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 7653586..562d9d4 100644
--- a/Makefile
+++ b/Makefile
@@ -61,8 +61,11 @@ CCFLAGS_SHARED = $(CCFLAGS_COMMON) -fPIC -DSHARED
MMFLAGS = $(CCFLAGS_COMMON) -Igen -MG
-# Flags to pass into the texinfo manual compilers.
-TEXIFLAGS =
+# Flags to pass into the texinfo manual compilers, when processing with TeX.
+TEXINFO_FLAGS =
+
+# Flags to pass into the texinfo manual compilers, when not processing with TeX.
+INFO_FLAGS =
# This shall be set to 'logo' when doc/logo.svg exists, and is the logo of the project.
LOGO =
@@ -160,7 +163,7 @@ obj/%.ps: doc/%.svg
# Compile texinfo manual.
bin/%.info $(foreach P,$(INFOPARTS_),bin/%.info-$(P)): doc/info/%.texinfo doc/info/*.texinfo doc/info/*/*.texinfo
@mkdir -p bin
- $(MAKEINFO) $(TEXIFLAGS) $<
+ $(MAKEINFO) $(INFO_FLAGS) $<
mv $*.info bin
ifneq ($(INFOPARTS),0)
mv $*.info-* bin
@@ -169,19 +172,19 @@ endif
bin/%.pdf: doc/info/%.texinfo doc/info/*.texinfo doc/info/*/*.texinfo $(foreach F,$(LOGO),obj/$(F).pdf)
@! test -d obj/pdf || rm -rf obj/pdf
@mkdir -p obj/pdf bin
- cd obj/pdf && texi2pdf $(TEXIFLAGS) ../../$< < /dev/null
+ cd obj/pdf && texi2pdf $(TEXINFO_FLAGS) ../../$< < /dev/null
mv obj/pdf/$*.pdf $@
bin/%.dvi: doc/info/%.texinfo doc/info/*.texinfo doc/info/*/*.texinfo $(foreach F,$(LOGO),obj/$(F).eps)
@! test -d obj/dvi || rm -rf obj/dvi
@mkdir -p obj/dvi bin
- cd obj/dvi && $(TEXI2DVI) $(TEXIFLAGS) ../../$< < /dev/null
+ cd obj/dvi && $(TEXI2DVI) $(TEXINFO_FLAGS) ../../$< < /dev/null
mv obj/dvi/$*.dvi $@
bin/%.ps: doc/info/%.texinfo doc/info/*.texinfo doc/info/*/*.texinfo $(foreach F,$(LOGO),obj/$(F).eps)
@! test -d obj/ps || rm -rf obj/ps
@mkdir -p obj/ps bin
- cd obj/ps && texi2pdf $(TEXIFLAGS) --ps ../../$< < /dev/null
+ cd obj/ps && texi2pdf $(TEXINFO_FLAGS) --ps ../../$< < /dev/null
mv obj/ps/$*.ps $@