From: Gerhard Sittig Date: Sun, 14 Oct 2018 15:33:51 +0000 (+0200) Subject: manual: remove the generate script, got obsoleted by CMake rules X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=commitdiff_plain;h=71ab196d0d816569752ea93f8e5fdfad8c72d820 manual: remove the generate script, got obsoleted by CMake rules Instead of running the manual/generate(1) script, "make manual" executes the conversion tools. --- diff --git a/manual/generate b/manual/generate deleted file mode 100755 index c6336ee8..00000000 --- a/manual/generate +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh -## -## This file is part of the PulseView project. -## -## Copyright (C) 2018 Soeren Apel -## -## This program is free software; you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation; either version 2 of the License, or -## (at your option) any later version. -## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with this program; if not, see . -## - -echo "Trying to generate HTML output..." -asciidoctor -a stylesheet=readthedocs.css -a stylesdir=asciidoctor-stylesheet-factory/stylesheets -a toc=left pulseview_manual.txt || exit -echo " --> pulseview_manual.html OK" - -# Run asciidoctor-pdf only if it can be found in $PATH -echo "Trying to generate PDF output..." -type asciidoctor-pdf && asciidoctor-pdf -a stylesheet=readthedocs.css -a stylesdir=asciidoctor-stylesheet-factory/stylesheets pulseview_manual.txt || exit -echo " --> pulseview_manual.pdf OK"