SOURCE=how-to-destroy-surveillance-capitalism
-GENERATED = $(SOURCE).xml $(SOURCE).pdf
+GENERATED = $(SOURCE).xml $(SOURCE).pdf \
+ $(SOURCE).nb.xml $(SOURCE).nb.pdf
PANDOC_OPTS = \
- --top-level-division=chapter \
-t docbook4
DBLATEX_OPTS = \
+ -T simple \
-P page.width=6in \
-P page.height=9in \
-P page.margin.inner=0.8in \
clean:
$(RM) *~ $(GENERATED) complete-book.xml
+
+distclean: clean
+
+stats:
+ for f in po/*.po; do printf "$$f "; msgfmt --output /dev/null --statistics $$f; done
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" []>
<book id="index" lang="en">
- <bookinfo>
+ <xi:include href="bookinfo.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <chapter label="">
<title>How to Destroy Surveillance Capitalism</title>
- <subtitle></subtitle>
- <pubdate>2020-??-??</pubdate>
- <edition>1</edition>
- <releaseinfo>git-utgaven</releaseinfo>
- <authorgroup>
- <author>
- <firstname>Cory</firstname>
- <surname>Doctorow</surname>
- </author>
- </authorgroup>
- <publisher>
- <publishername>Petter Reinholdtsen</publishername>
- <address><city>Oslo</city></address>
- </publisher>
-
- <legalnotice>
- <para>
- <inlinemediaobject>
- <imageobject>
- <imagedata fileref="images/cc.png" contentdepth="3em" width="100%" align="center"/>
- </imageobject>
- <imageobject>
- <imagedata fileref="images/cc.svg" contentdepth="3em" width="100%" align="center"/>
- </imageobject>
- <textobject>
- <phrase>Creative Commons, Some rights reserved</phrase>
- </textobject>
- </inlinemediaobject>
- </para>
-
- <para>
- This book is licensed under a Creative Commons license. This
- license permits any use of this work, so long as attribution
- is given. For more information about the license visit
- <ulink url="http://creativecommons.org/licenses/by/1.0/"/>.
- </para>
- </legalnotice>
- </bookinfo>
- <xi:include href="how-to-destroy-surveillance-capitalism.xml#xpointer(/article/chapter)"
+ <xi:include href="how-to-destroy-surveillance-capitalism.xml#xpointer(/article/sect1)"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ </chapter>
</book>
--- /dev/null
+<bookinfo>
+ <title>How to Destroy Surveillance Capitalism</title>
+ <!-- subtitle></subtitle -->
+ <pubdate>2020-??-??</pubdate>
+ <authorgroup>
+ <author>
+ <firstname>Cory</firstname>
+ <surname>Doctorow</surname>
+ </author>
+ </authorgroup>
+ <publisher>
+ <publishername>Petter Reinholdtsen</publishername>
+ <address><city>Oslo</city></address>
+ </publisher>
+
+ <legalnotice>
+ <para>
+ <inlinemediaobject>
+ <imageobject>
+ <imagedata fileref="images/cc.png" contentdepth="3em" width="100%" align="center"/>
+ </imageobject>
+ <imageobject>
+ <imagedata fileref="images/cc.svg" contentdepth="3em" width="100%" align="center"/>
+ </imageobject>
+ <textobject>
+ <phrase>Creative Commons, Some rights reserved</phrase>
+ </textobject>
+ </inlinemediaobject>
+ </para>
+
+ <para>
+ This book is licensed under a Creative Commons license. This
+ license permits any use of this work, so long as attribution
+ is given. For more information about the license visit
+ <ulink url="http://creativecommons.org/licenses/by/1.0/"/>.
+ </para>
+ </legalnotice>
+</bookinfo>