]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
maint: Use maintainer-makefile from gnulib
authorDaiki Ueno <ueno@gnu.org>
Sat, 2 Jan 2016 09:35:51 +0000 (18:35 +0900)
committerDaiki Ueno <ueno@gnu.org>
Sat, 2 Jan 2016 09:42:13 +0000 (18:42 +0900)
* autogen.sh: Pull GNUmakefile, maint.mk, and dependency scripts in
build-aux.
* cfg.mk (update-copyright-env): Adjust for gettext.
* .x-update-copyright: New file.
* .gitignore: Ignore files brought in by gnulib-tool.

.gitignore
.x-update-copyright [new file with mode: 0644]
autogen.sh
cfg.mk [new file with mode: 0644]

index 2fdf4f692face99139db1ead8ac6a39280efddd5..c784122af569a5f8ddd9711657f76a837bb76dc3 100644 (file)
@@ -43,8 +43,14 @@ Makefile
 /gettext-tools/examples/ChangeLog
 /gettext-tools/po/ChangeLog
 
+# Files brought in by gnulib-tool:
+/GNUmakefile
 /build-aux/ar-lib
 /build-aux/git-version-gen
 /build-aux/gitlog-to-changelog
 /build-aux/snippet
 /build-aux/test-driver
+/build-aux/update-copyright
+/build-aux/useless-if-before-free
+/build-aux/vc-list-files
+/maint.mk
diff --git a/.x-update-copyright b/.x-update-copyright
new file mode 100644 (file)
index 0000000..cb63ac9
--- /dev/null
@@ -0,0 +1,14 @@
+COPYING$
+COPYING.LIB$
+.*\.po$
+^build-aux/ltmain\.sh$
+^build-aux/texinfo\.tex$
+^m4/lt.*\.m4$
+^m4/libtool\.m4$
+^gettext-runtime/intl/localcharset\.[ch]$
+^gettext-runtime/intl/config\.charset$
+^gettext-runtime/intl/locale\.alias$
+^gettext-tools/doc/gpl\.texi$
+^gettext-tools/doc/lgpl\.texi$
+^gettext-tools/doc/fdl\.texi$
+^gettext-tools/examples/hello-c++-kde/admin/.*$
index 604a05925c82b2c039e9033fa1be833b7c2304dc..61a1ee588705b78231ca38e281fab0ddf855a404 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# Copyright (C) 2003-2015 Free Software Foundation, Inc.
+# Copyright (C) 2003-2016 Free Software Foundation, Inc.
 #
 # 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
@@ -380,6 +380,11 @@ if ! $skip_gnulib; then
     $GNULIB_TOOL --copy-file tests/init.sh gettext-tools || exit $?
     $GNULIB_TOOL --copy-file build-aux/git-version-gen || exit $?
     $GNULIB_TOOL --copy-file build-aux/gitlog-to-changelog || exit $?
+    $GNULIB_TOOL --copy-file build-aux/update-copyright || exit $?
+    $GNULIB_TOOL --copy-file build-aux/useless-if-before-free || exit $?
+    $GNULIB_TOOL --copy-file build-aux/vc-list-files || exit $?
+    $GNULIB_TOOL --copy-file top/GNUmakefile . || exit $?
+    $GNULIB_TOOL --copy-file top/maint.mk . || exit $?
   fi
 fi
 
diff --git a/cfg.mk b/cfg.mk
new file mode 100644 (file)
index 0000000..71cebca
--- /dev/null
+++ b/cfg.mk
@@ -0,0 +1,5 @@
+SED ?= sed
+
+update-copyright-env = \
+  UPDATE_COPYRIGHT_USE_INTERVALS=1 \
+  UPDATE_COPYRIGHT_MAX_LINE_LENGTH=79