-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Mark Grant <[email protected]>
- Loading branch information
1 parent
663bfed
commit 4cf00d3
Showing
1 changed file
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
######################################################################### | ||
# # | ||
# Script ID: ./Makefile.am # | ||
# Author: Copyright (C) 2020, 2021 Mark Grant # | ||
# Author: Copyright (C) 2020, 2021, 2023 Mark Grant # | ||
# # | ||
# Released under the GPLv3 only. # | ||
# SPDX-License-Identifier: GPL-3.0-only # | ||
|
@@ -20,6 +20,7 @@ | |
# 11/02/2020 MG 1.0.1 Initial version. # | ||
# 08/11/2021 MG 1.0.2 Add misc directory to DIST. # | ||
# 23/11/2021 MG 1.0.3 Tighten SPDX tag. # | ||
# 04/08/2023 MG 1.0.4 Enable use of v1.1.1~rc1 type vesrion # | ||
# # | ||
######################################################################### | ||
|
||
|
@@ -42,12 +43,13 @@ EXTRA_DIST = $(srcdir)/AUTHORS $(srcdir)/ChangeLog $(srcdir)/COPYING \ | |
|
||
srctarball: | ||
@cwd="$${PWD}" && \ | ||
targ="$${cwd}/@PACKAGE_TARNAME@-@[email protected]" && \ | ||
varg="$$(echo @PACKAGE_VERSION@ | sed -e s/\-rc/\~rc/ )" && \ | ||
targ="$${cwd}/@PACKAGE_TARNAME@-$${varg}.tar.gz" && \ | ||
cd @srcdir@ && \ | ||
echo "making srctarball from @srcdir@" && \ | ||
echo "GA $${targ}" && \ | ||
git archive --format=tar.gz \ | ||
--prefix=@PACKAGE_TARNAME@-@PACKAGE_VERSION@/ \ | ||
--prefix=@PACKAGE_TARNAME@-$${varg}/ \ | ||
--output=$${targ} \ | ||
HEAD && \ | ||
cd - | ||
|