[pacman-dev] [PATCH] Remove "Generated from ...; do not edit by hand" from scripts
Allan McRae
allan at archlinux.org
Wed Nov 6 05:50:22 UTC 2019
This is a useless piece of information.
Signed-off-by: Allan McRae <allan at archlinux.org>
---
build-aux/edit-script.sh.in | 1 -
scripts/Makefile.am | 3 +--
scripts/makepkg-template.pl.in | 1 -
scripts/makepkg.sh.in | 1 -
scripts/pacman-db-upgrade.sh.in | 1 -
scripts/pacman-key.sh.in | 1 -
scripts/repo-add.sh.in | 1 -
7 files changed, 1 insertion(+), 8 deletions(-)
diff --git a/build-aux/edit-script.sh.in b/build-aux/edit-script.sh.in
index 7423a223..661c22d5 100644
--- a/build-aux/edit-script.sh.in
+++ b/build-aux/edit-script.sh.in
@@ -20,7 +20,6 @@ mode=$3
-e "s|@DEBUGSUFFIX[@]|@DEBUGSUFFIX@|g" \
-e "s|@INODECMD[@]|@INODECMD@|g" \
-e "s|@FILECMD[@]|@FILECMD@|g" \
- -e "s|@configure_input[@]|Generated from ${input##*/}; do not edit by hand.|g" \
"$input" >"$output"
if [[ $mode ]]; then
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 3cb6c133..191fc3d3 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -186,8 +186,7 @@ edit = sed \
-e 's|@DEBUGSUFFIX[@]|$(DEBUGSUFFIX)|g' \
-e "s|@INODECMD[@]|$(INODECMD)|g" \
-e "s|@FILECMD[@]|$(FILECMD)|g" \
- -e 's|@SCRIPTNAME[@]|$@|g' \
- -e 's|@configure_input[@]|Generated from $<; do not edit by hand.|g'
+ -e 's|@SCRIPTNAME[@]|$@|g'
## All the scripts depend on Makefile so that they are rebuilt when the
## prefix etc. changes. Use chmod -w to prevent people from editing the
diff --git a/scripts/makepkg-template.pl.in b/scripts/makepkg-template.pl.in
index da5eba1b..762dd4be 100755
--- a/scripts/makepkg-template.pl.in
+++ b/scripts/makepkg-template.pl.in
@@ -1,6 +1,5 @@
#!/usr/bin/perl
# makepkg-template - template system for makepkg
-# @configure_input@
#
# Copyright (c) 2013-2019 Pacman Development Team <pacman-dev at archlinux.org>
#
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 22df1b9f..2deb61da 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -1,7 +1,6 @@
#!/bin/bash
#
# makepkg - make packages compatible for use with pacman
-# @configure_input@
#
# Copyright (c) 2006-2019 Pacman Development Team <pacman-dev at archlinux.org>
# Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
diff --git a/scripts/pacman-db-upgrade.sh.in b/scripts/pacman-db-upgrade.sh.in
index 5d65bc88..4a904b6d 100644
--- a/scripts/pacman-db-upgrade.sh.in
+++ b/scripts/pacman-db-upgrade.sh.in
@@ -1,7 +1,6 @@
#!/bin/bash -e
#
# pacman-db-upgrade - upgrade the local pacman db to a newer format
-# @configure_input@
#
# Copyright (c) 2010-2019 Pacman Development Team <pacman-dev at archlinux.org>
#
diff --git a/scripts/pacman-key.sh.in b/scripts/pacman-key.sh.in
index 366fd205..613b3514 100644
--- a/scripts/pacman-key.sh.in
+++ b/scripts/pacman-key.sh.in
@@ -2,7 +2,6 @@
#
# pacman-key - manages pacman's keyring
# Based on apt-key, from Debian
-# @configure_input@
#
# Copyright (c) 2010-2019 Pacman Development Team <pacman-dev at archlinux.org>
#
diff --git a/scripts/repo-add.sh.in b/scripts/repo-add.sh.in
index caf1232d..f7dd8948 100644
--- a/scripts/repo-add.sh.in
+++ b/scripts/repo-add.sh.in
@@ -2,7 +2,6 @@
#
# repo-add - add a package to a given repo database file
# repo-remove - remove a package entry from a given repo database file
-# @configure_input@
#
# Copyright (c) 2006-2019 Pacman Development Team <pacman-dev at archlinux.org>
#
--
2.23.0
More information about the pacman-dev
mailing list