Changeset 60:6e574058ef56

Show
Ignore:
Timestamp:
01/07/12 12:43:07 (12 years ago)
Author:
František Kučera <franta-hg@…>
Branch:
default
Message:

Licence: informace o licenci při spuštění programu.

Files:
2 modified

Legend:

Unmodified
Added
Removed
  • build.xml

    r51 r60  
     1<?xml version="1.0" encoding="UTF-8"?> 
     2<!-- 
     3XML Web generátor – program na generování webových stránek 
     4Copyright © 2012 František Kučera (frantovo.cz) 
     5 
     6This program is free software: you can redistribute it and/or modify 
     7it under the terms of the GNU General Public License as published by 
     8the Free Software Foundation, either version 3 of the License, or 
     9(at your option) any later version. 
     10 
     11This program is distributed in the hope that it will be useful, 
     12but WITHOUT ANY WARRANTY; without even the implied warranty of 
     13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     14GNU General Public License for more details. 
     15 
     16You should have received a copy of the GNU General Public License 
     17along with this program.  If not, see <http://www.gnu.org/licenses/>. 
     18--> 
    119<project name="xhtml-web" basedir="." default="generuj"> 
    220 
     
    826        <property name="temp" value="temp"/> 
    927        <property name="funkce" value="${šablona}/funkce/build/classes"/> 
     28        <property name="čára" value="----------------------------------------------------------------"/> 
    1029         
    1130        <property name="vstupníPřípona" value=".xml"/> 
    1231        <property name="výstupníPřípona" value=".xhtml"/> 
    1332         
    14         <target name="generuj" description="Vygeneruje kompletní web." depends="agregace,stránky"> 
     33        <target name="generuj" description="Vygeneruje kompletní web." depends="licence,agregace,stránky"> 
    1534        </target> 
    1635         
     
    115134        </target> 
    116135         
     136        <target name="licence"> 
     137                <echo>${čára} 
     138XML Web generátor Copyright © 2012 František Kučera (frantovo.cz) 
     139This program comes with ABSOLUTELY NO WARRANTY; 
     140This is free software, and you are welcome to redistribute it 
     141under certain conditions; type ‚ant licence-gpl‘ for details. 
     142${čára}</echo> 
     143        </target> 
     144         
     145        <target name="licence-gpl"> 
     146                <loadfile property="licence.txt" srcFile="licence/licence.txt"/> 
     147                <loadfile property="gpl-3.0.txt" srcFile="licence/gpl-3.0.txt"/> 
     148                <echo>${čára}</echo>  
     149                <echo>${licence.txt}</echo>  
     150                <echo>${čára}</echo>  
     151                <echo>${gpl-3.0.txt}</echo>  
     152                <echo>${čára}</echo>  
     153        </target> 
     154         
    117155</project> 
  • licence/licence.txt

    r0 r60  
    22GNU General Public License, verze 3 
    33 
    4   viz gpl-3.0.txt 
    5   viz http://www.fsf.org/licensing/licenses/gpl-3.0.html 
     4        viz gpl-3.0.txt 
     5        viz http://www.fsf.org/licensing/licenses/gpl-3.0.html 
    66 
    77 
    88František Kučera 
    99 
    10   http://frantovo.cz/blog 
    11   http://frantovo.cz/ 
    12   franta-hg@frantovo.cz 
     10        https://trac.frantovo.cz/xml-web-generator/ 
     11        http://frantovo.cz/blog 
     12        http://frantovo.cz/ 
     13        franta-hg@frantovo.cz