]> git.proxmox.com Git - mirror_zfs.git/commit - Makefile.am
Restore scripts/make_gitrev.sh
authorArvind Sankar <nivedita@alum.mit.edu>
Fri, 17 Jul 2020 21:30:51 +0000 (17:30 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 22 Jul 2020 16:59:36 +0000 (09:59 -0700)
commitd32a59fe2b29a7008a820d597a7efa41ccdf2f09
treee8a87697057f7b4051f8cb09d265d0cf66d0d8a2
parent5dd92909c6d1ed606aac7c6ffe3df68513bb5ed1
Restore scripts/make_gitrev.sh

Commit 109d2c931020 ("Move zfs_gitrev.h to build directory") removed
scripts/make_gitrev.sh, putting the logic into the Makefile itself.

However, at least the Arch Linux packager wants the script so that the
file can be generated without having to run configure first, for
DKMS packaging purposes.

So move the make recipe back into the script.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Closes #10595
Makefile.am
scripts/Makefile.am
scripts/make_gitrev.sh [new file with mode: 0755]