minor Makefile changes

Changes #! lines in Makefiles to "#!/usr/bin/env make".

Set SHELL in Makefiles to the basename of the shell.
This commit is contained in:
Landon Curt Noll
2023-02-16 16:47:01 -08:00
parent 11ddc30528
commit 644b348bcb
10 changed files with 83 additions and 54 deletions

7
rpm.mk
View File

@@ -1,9 +1,8 @@
#!/bin/make
#****h* calc/rpm.mk
#!/usr/bin/env make
#
# rpm.mk - Makefile for building rpm packages for calc
#
# Copyright (C) 2003,2014,2021 Petteri Kettunen and Landon Curt Noll
# Copyright (C) 2003,2014,2021,2023 Petteri Kettunen and Landon Curt Noll
#
# Calc is open software; you can redistribute it and/or modify it under
# the terms of the version 2.1 of the GNU Lesser General Public License
@@ -63,7 +62,7 @@
# setup
#
SHELL= /bin/sh
SHELL= bash
RPMBUILD_TOOL= rpmbuild
TARCH= x86_64
RPMBUILD_OPTION= -ba --target=$(TARCH) --buildroot=${RPM_BUILD_ROOT}