summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorDan Jacques <dnj@google.com>2018-04-10 15:05:42 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-04-11 09:09:56 (GMT)
commitf6a0ad4be71a337e2e8787788a4b467204a4c4bb (patch)
tree700323161c2dec3c2dd38ed61bf5783f4e57ac31 /.gitignore
parent8b026edac3104ecc40a68fd58b764fb3c717babb (diff)
downloadgit-f6a0ad4be71a337e2e8787788a4b467204a4c4bb.zip
git-f6a0ad4be71a337e2e8787788a4b467204a4c4bb.tar.gz
git-f6a0ad4be71a337e2e8787788a4b467204a4c4bb.tar.bz2
Makefile: generate Perl header from template file
Currently, the generated Perl script headers are emitted by commands in the Makefile. This mechanism restricts options to introduce alternative header content, needed by Perl runtime prefix support, and obscures the origin of the Perl script header. Change the Makefile to generate a header by processing a template file and move the header content into the "perl/" subdirectory. The generated header content will now be stored in the "GIT-PERL-HEADER" file. This allows the content of the Perl header to be controlled by changing the path of the template in the Makefile. Signed-off-by: Dan Jacques <dnj@google.com> Thanks-to: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Thanks-to: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 833ef3b..89bd7bd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,6 +3,7 @@
/GIT-LDFLAGS
/GIT-PREFIX
/GIT-PERL-DEFINES
+/GIT-PERL-HEADER
/GIT-PYTHON-VARS
/GIT-SCRIPT-DEFINES
/GIT-USER-AGENT