# HG changeset patch # User František Kučera <franta-hg@frantovo.cz> # Date 1325936587 -3600 # Node ID 6e574058ef56d0f0a614ae05c82aa8a2859d165b # Parent bb242c10a27c3afd8475c348f15542caad1e7153 Licence: informace o licenci při spuštění programu. diff -r bb242c10a27c -r 6e574058ef56 build.xml --- a/build.xml Sat Jan 07 12:42:27 2012 +0100 +++ b/build.xml Sat Jan 07 12:43:07 2012 +0100 @@ -1,3 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +XML Web generátor – program na generování webových stránek +Copyright © 2012 František Kučera (frantovo.cz) + +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 3 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 <http://www.gnu.org/licenses/>. +--> <project name="xhtml-web" basedir="." default="generuj"> <!-- Používané adresáře – např. zde můžete vstup a výstup nasměrovat do jiného verzovaného úložiště --> @@ -7,11 +25,12 @@ <property name="seznamMaker" value="${šablona}/.makra-seznam.xsl"/> <property name="temp" value="temp"/> <property name="funkce" value="${šablona}/funkce/build/classes"/> + <property name="čára" value="----------------------------------------------------------------"/> <property name="vstupníPřípona" value=".xml"/> <property name="výstupníPřípona" value=".xhtml"/> - <target name="generuj" description="Vygeneruje kompletní web." depends="agregace,stránky"> + <target name="generuj" description="Vygeneruje kompletní web." depends="licence,agregace,stránky"> </target> <target name="stránky" description="Vygeneruje samotné XHTML webové stránky." depends="statický-obsah,syntaxe,kompiluj-funkce,makra"> @@ -114,4 +133,23 @@ </delete> </target> + <target name="licence"> + <echo>${čára} +XML Web generátor Copyright © 2012 František Kučera (frantovo.cz) +This program comes with ABSOLUTELY NO WARRANTY; +This is free software, and you are welcome to redistribute it +under certain conditions; type ‚ant licence-gpl‘ for details. +${čára}</echo> + </target> + + <target name="licence-gpl"> + <loadfile property="licence.txt" srcFile="licence/licence.txt"/> + <loadfile property="gpl-3.0.txt" srcFile="licence/gpl-3.0.txt"/> + <echo>${čára}</echo> + <echo>${licence.txt}</echo> + <echo>${čára}</echo> + <echo>${gpl-3.0.txt}</echo> + <echo>${čára}</echo> + </target> + </project> diff -r bb242c10a27c -r 6e574058ef56 licence/licence.txt --- a/licence/licence.txt Sat Jan 07 12:42:27 2012 +0100 +++ b/licence/licence.txt Sat Jan 07 12:43:07 2012 +0100 @@ -1,12 +1,13 @@ Program xml-web-generator vydávám pod licencí: GNU General Public License, verze 3 - viz gpl-3.0.txt - viz http://www.fsf.org/licensing/licenses/gpl-3.0.html + viz gpl-3.0.txt + viz http://www.fsf.org/licensing/licenses/gpl-3.0.html František Kučera - http://frantovo.cz/blog - http://frantovo.cz/ - franta-hg@frantovo.cz + https://trac.frantovo.cz/xml-web-generator/ + http://frantovo.cz/blog + http://frantovo.cz/ + franta-hg@frantovo.cz