30 lines
1.3 KiB
Diff
30 lines
1.3 KiB
Diff
diff --git a/Makefile b/Makefile
|
|
index 85fbf952..dc23be41 100644
|
|
--- Makefile
|
|
+++ Makefile
|
|
@@ -196,13 +196,13 @@ doc/xhtml/faq.html: doc/faq.txt
|
|
echo "td > pre { margin: 0; white-space: pre-wrap; }" >> doc/xhtml/docbook-xsl.css
|
|
|
|
doc/generate: doc/generate.cpp doc/split.h
|
|
- $(CXX) $(CXXFLAGS) -o doc/generate doc/generate.cpp
|
|
+ $(CXX_FOR_BUILD) $(CXXFLAGS_FOR_BUILD) -o doc/generate doc/generate.cpp
|
|
|
|
doc/newsboat-cfgcmds.txt: doc/generate doc/configcommands.dsv
|
|
doc/generate doc/configcommands.dsv > doc/newsboat-cfgcmds.txt
|
|
|
|
doc/generate2: doc/generate2.cpp
|
|
- $(CXX) $(CXXFLAGS) -o doc/generate2 doc/generate2.cpp
|
|
+ $(CXX_FOR_BUILD) $(CXXFLAGS_FOR_BUILD) -o doc/generate2 doc/generate2.cpp
|
|
|
|
doc/newsboat-keycmds.txt: doc/generate2 doc/keycmds.dsv
|
|
doc/generate2 doc/keycmds.dsv > doc/newsboat-keycmds.txt
|
|
@@ -220,7 +220,7 @@ doc/podboat.1: doc/manpage-podboat.txt doc/chapter-podcasts.txt doc/podboat-cfgc
|
|
$(A2X) -f manpage doc/manpage-podboat.txt
|
|
|
|
doc/gen-example-config: doc/gen-example-config.cpp doc/split.h
|
|
- $(CXX) $(CXXFLAGS) -o doc/gen-example-config doc/gen-example-config.cpp
|
|
+ $(CXX_FOR_BUILD) $(CXXFLAGS_FOR_BUILD) -o doc/gen-example-config doc/gen-example-config.cpp
|
|
|
|
doc/example-config: doc/gen-example-config doc/configcommands.dsv
|
|
sed 's/+{backslash}"+/`\\"`/g' doc/configcommands.dsv | doc/gen-example-config > doc/example-config
|