-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
42 lines (29 loc) · 1.03 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#########################################################################
# #
# Author: Copyright (C) 2018, 2021, 2023 Mark Grant #
# #
# Released under the GPLv3 only. #
# SPDX-License-Identifier: GPL-3.0-only #
# #
# Purpose: #
# Automake script file to generate gen-gnulib project from source. #
# #
#########################################################################
ACLOCAL_AMFLAGS = -I m4
AM_DISTCHECK_CONFIGURE_FLAGS =
SUBDIRS = src/prg/bash src/man/1
doc_DATA = AUTHORS ChangeLog COPYING NEWS README
EXTRA_DIST = $(srcdir)/AUTHORS $(srcdir)/ChangeLog $(srcdir)/COPYING \
$(srcdir)/NEWS $(srcdir)/README $(srcdir)/misc
srctarball:
@cwd="$${PWD}" && \
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@-$${varg}/ \
--output=$${targ} \
HEAD && \
cd -