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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
#########################################################################
# #
# Script ID: ./Makefile.am #
# Author: Copyright (C) 2012-2019 Mark Grant #
# #
# Released under the GPLv3 only. #
# SPDX-License-Identifier: GPL-3.0 #
# #
# Purpose: #
# AutoMake script file to generate LIXBackups project from source. #
# #
#########################################################################
#########################################################################
# #
# Changelog #
# #
# Date Author Version Description #
# #
# 16/06/2014 MG 1.0.1 Started versioning of this script. #
# 17/06/2014 MG 1.0.2 Inserted man1 and man5 as subdirectories#
# of manpages to allow for man 5 pages. #
# 01/08/2014 MG 1.0.3 Change project name from IXBackups to #
# LUXBackups. #
# 27/02/2015 MG 1.0.4 Add rootconffiles as a sub-directory. #
# 28/09/2015 MG 1.0.5 Change to conform to AutoTools Template #
# version 1.0.4. #
# 19/10/2015 MG 1.0.6 Restructure to conform to AutoTools #
# General Template v1.0.5. #
# 01/05/2017 MG 1.0.7 Move command man pages to section 8. #
# Move logrotate to new subdir logrotate. #
# 30/11/2017 MG 1.0.8 Add SPDX license tags to source files. #
# 10/02/2018 MG 1.0.9 Shorten directory names to reduce #
# overall path length. #
# Add standard macro directory. #
# 11/04/2018 MG 1.0.10 Add srctarball target to build a source #
# tarball in the build directory. Uses #
# git archive to archive HEAD. #
# 10/06/2018 MG 1.0.11 Add info messages to srctarball target. #
# 01/11/2018 MG 1.0.12 Change srctarball target to build with #
# src between package name and version in #
# filename. #
# 09/01/2019 MG 1.0.13 Change source tarball name to be the #
# same as that in GitHub releases. This #
# aids integrating with rpm generation. #
# 13/01/2019 MG 1.0.14 Remove unnecessary shebang. #
# Add install of standard top level GNU #
# files AUTHOR, etc. #
# #
#########################################################################
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = src/prg/bash
SUBDIRS += src/man/5 src/man/8
SUBDIRS += src/conf/etc src/conf/rootetc/logrotate
doc_DATA = AUTHORS ChangeLog COPYING NEWS README
srctarball:
@cwd="$${PWD}" && \
targ="$${cwd}/@PACKAGE_TARNAME@-@PACKAGE_VERSION@.tar.gz" && \
cd @srcdir@ && \
echo "making srctarball from @srcdir@" && \
echo "GA $${targ}" && \
git archive --format=tar.gz \
--prefix=@PACKAGE_TARNAME@-@PACKAGE_VERSION@/ \
--output=$${targ} \
HEAD && \
cd -
EXTRA_DIST = $(srcdir)/AUTHORS $(srcdir)/ChangeLog $(srcdir)/COPYING \
$(srcdir)/NEWS $(srcdir)/README
|