emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
blob d7171a56f06570da2be57b81016fe917909a21de 644 bytes (raw)
name: UTILITIES/gplmanual.pl 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
 
#!/usr/bin/perl

# This command creates a version of the manual to is both GFDL and GPL
# To allow DEBIAN to include the manual in its main section.

$gpl = 
'

Permission is also granted to copy, distribute and/or modify this document
under the terms of the GNU General Public License (GPL).
You should have received a copy of the GNU General Public License
along with GNU Emacs.  If not, see @url{http://www.gnu.org/licenses/}.
';

open IN, "<doc/org.texi" or die "Cannot open doc/org.texi\n";
open OUT, ">doc/org_dual_license.texi" or die "Cannot open doc/org.texi\n";

while (<IN>) {
  print OUT $gpl if /end quotation/;
  print OUT $_;
 }

debug log:

solving d7171a56f06570da2be57b81016fe917909a21de ...
found d7171a56f06570da2be57b81016fe917909a21de in https://git.savannah.gnu.org/cgit/emacs/org-mode.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).