summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2015-11-19 08:14:00 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2015-11-19 08:14:51 -0800
commitc8404f48a33ad39bca57e1442e23fc02573aed20 (patch)
tree8c1e884287a5d768a91fd7de1e0891357e1b8097 /modules
parent80f19fb898b574b345b908dfd6a98c965de4136f (diff)
downloademacs-c8404f48a33ad39bca57e1442e23fc02573aed20.tar.gz
Add copyright notices to module code
Put them in the usual format for GNU Emacs copyright notices.
Diffstat (limited to 'modules')
-rw-r--r--modules/mod-test/Makefile18
-rw-r--r--modules/mod-test/mod-test.c19
-rw-r--r--modules/mod-test/test.el21
-rwxr-xr-xmodules/modhelp.py20
4 files changed, 75 insertions, 3 deletions
diff --git a/modules/mod-test/Makefile b/modules/mod-test/Makefile
index 18778f00599..654c22a7e33 100644
--- a/modules/mod-test/Makefile
+++ b/modules/mod-test/Makefile
@@ -1,3 +1,21 @@
+# Test GNU Emacs modules.
+
+# Copyright 2015 Free Software Foundation, Inc.
+
+# This file is part of GNU Emacs.
+
+# GNU Emacs 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.
+
+# GNU Emacs 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 GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
ROOT = ../..
diff --git a/modules/mod-test/mod-test.c b/modules/mod-test/mod-test.c
index db5516ee553..04b6122cafb 100644
--- a/modules/mod-test/mod-test.c
+++ b/modules/mod-test/mod-test.c
@@ -1,3 +1,22 @@
+/* Test GNU Emacs modules.
+
+Copyright 2015 Free Software Foundation, Inc.
+
+This file is part of GNU Emacs.
+
+GNU Emacs 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.
+
+GNU Emacs 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 GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
+
#include <assert.h>
#include <stdio.h>
#include <module.h>
diff --git a/modules/mod-test/test.el b/modules/mod-test/test.el
index 1242b6a2ec2..ed584ebb95e 100644
--- a/modules/mod-test/test.el
+++ b/modules/mod-test/test.el
@@ -1,6 +1,21 @@
-;;
-;; Dynamic modules tests
-;;
+;;; Test GNU Emacs modules.
+
+;; Copyright 2015 Free Software Foundation, Inc.
+
+;; This file is part of GNU Emacs.
+
+;; GNU Emacs 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.
+
+;; GNU Emacs 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 GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
(require 'ert)
diff --git a/modules/modhelp.py b/modules/modhelp.py
index 57bed5023c7..5afe8f24e95 100755
--- a/modules/modhelp.py
+++ b/modules/modhelp.py
@@ -1,4 +1,24 @@
#!/usr/bin/env python
+
+# Module helper script.
+
+# Copyright 2015 Free Software Foundation, Inc.
+
+# This file is part of GNU Emacs.
+
+# GNU Emacs 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.
+
+# GNU Emacs 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 GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
import os
import string
import subprocess as sp