-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
48 lines (35 loc) · 1.24 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
42
43
44
45
46
47
#########################################################################
# #
# Author: Copyright (C) 2018-2019, 2021, 2023, 2024 Mark Grant #
# #
# Released under the GPLv3 only. #
# SPDX-License-Identifier: GPL-3.0-only #
# #
# Purpose: #
# AutoMake script file to generate dnsmasq-logrotate project. #
# #
#########################################################################
ACLOCAL_AMFLAGS = -I m4
AM_DISTCHECK_CONFIGURE_FLAGS = --enable-distcheckfake=yes
SUBDIRS = src/prg/bash
SUBDIRS += src/prg/test-data/etc1
SUBDIRS += src/prg/test-data/etc2
SUBDIRS += src/prg/test-data/etc3
SUBDIRS += src/prg/test-data/etc4
SUBDIRS += src/man/8
SUBDIRS += src/conf/rootetc/logrotate
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 -