[elbe-devel] [PATCH] docs: Remove elbe show output of examples

Bastian Germann bage at linutronix.de
Wed Oct 19 16:42:31 CEST 2022


The document elbe-example.txt has not built for some time.
Remove it as it is not really useful.

Signed-off-by: Bastian Germann <bage at linutronix.de>
---
 docs/Makefile             |  5 -----
 docs/build-example-doc.sh | 23 -----------------------
 2 files changed, 28 deletions(-)
 delete mode 100755 docs/build-example-doc.sh

diff --git a/docs/Makefile b/docs/Makefile
index 677482739d..b976eb8b3e 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -91,7 +91,6 @@ clean:
 	$(RM) technical/api-*.html technical/api-index.txt
 	$(RM) $(cmds_txt) *.made
 	$(RM) manpage-base-url.xsl
-	$(RM) elbe-examples.txt elbe-examples.html
 
 $(MAN_HTML): %.html : %.txt
 	$(RM) $@+ $@ && \
@@ -161,7 +160,3 @@ elbe-schema-reference.html: %.html : %.txt
 	sed -i "1s/^/*************************\n/" article-$*.rst
 	sed -i "s/<#/<#type-/g" article-$*.rst
 	$(ASCIIDOC) -a toc $(ASCIIDOC_EXTRA) -b xhtml11 $*.txt
-
-elbe-examples.txt:
-	./build-example-doc.sh
-	$(ASCIIDOC) $(ASIIDOC_EXTRA) $(ASCIIDOC_DATA_URI) -b xhtml11 elbe-examples.txt
diff --git a/docs/build-example-doc.sh b/docs/build-example-doc.sh
deleted file mode 100755
index adeaa34584..0000000000
--- a/docs/build-example-doc.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/bash
-#
-# ELBE - Debian Based Embedded Rootfilesystem Builder
-# Copyright (c) 2013, 2015-2017 Manuel Traut <manut at linutronix.de>
-#
-# SPDX-License-Identifier: GPL-3.0-or-later
-
-FILES=`ls -1 ../examples`
-DEST=elbe-examples.tmp
-TXT=elbe-examples.txt
-rm -f $DEST
-
-echo $FILES
-
-echo "ELBE examples" >>$DEST
-echo "=============" >> $DEST
-echo "" >> $DEST
-for F in $FILES; do
-	../elbe show ../examples/$F >> $DEST
-	echo "" >> $DEST
-done
-
-cat $DEST | sed -e s?'../examples/'?''? > $TXT
-- 
2.30.2



More information about the elbe-devel mailing list