~m-grant-prg/kernel-utils/bullseye

« back to all changes in this revision

Viewing changes to Makefile.am

  • Committer: Mark Grant
  • Date: 2019-10-10 14:03:54 UTC
  • mfrom: (1.1.19)
  • Revision ID: m.grant.prg@gmail.com-20191010140354-paf16goo84wqnu5a
Merge new upstream development release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /usr/bin/env bash
2
1
#########################################################################
3
2
#                                                                       #
4
3
# Script ID: ./Makefile.am                                              #
5
 
# Author: Copyright (C) 2016-2018  Mark Grant                           #
 
4
# Author: Copyright (C) 2016-2019  Mark Grant                           #
6
5
#                                                                       #
7
6
# Released under the GPLv3 only.                                        #
8
7
# SPDX-License-Identifier: GPL-3.0                                      #
31
30
# 31/10/2018    MG      1.0.6   Change srctarball target to build with  #
32
31
#                               src between package name and version in #
33
32
#                               filename.                               #
 
33
# 10/10/2019    MG      1.0.7   Make source tarball the same as from    #
 
34
#                               GitHub.                                 #
 
35
#                               Add install of standard GNU files like  #
 
36
#                               AUTHORS, etc.                           #
 
37
#                               Remove unnecessary shebang.             #
 
38
#                               To enable make distcheck to work, any   #
 
39
#                               hard-coded paths requiring permissions  #
 
40
#                               such as /etc or fixed locations such as #
 
41
#                               /usr/share/java must be accommodated,   #
 
42
#                               so set the configure flags to be used   #
 
43
#                               by make distcheck.                      #
34
44
#                                                                       #
35
45
#########################################################################
36
46
 
38
48
ACLOCAL_AMFLAGS = -I m4
39
49
 
40
50
 
 
51
AM_DISTCHECK_CONFIGURE_FLAGS =
 
52
 
 
53
 
41
54
SUBDIRS = src/man/1
42
55
SUBDIRS += src/prg/bash
43
56
 
44
57
 
 
58
doc_DATA = AUTHORS ChangeLog COPYING NEWS README
 
59
 
 
60
 
 
61
EXTRA_DIST = $(srcdir)/AUTHORS $(srcdir)/ChangeLog $(srcdir)/COPYING \
 
62
                $(srcdir)/NEWS $(srcdir)/README
 
63
 
 
64
 
45
65
srctarball:
46
66
        @cwd="$${PWD}" && \
47
 
        targ="$${cwd}/@PACKAGE_TARNAME@-src-@PACKAGE_VERSION@.tar.gz" && \
 
67
        targ="$${cwd}/@PACKAGE_TARNAME@-@PACKAGE_VERSION@.tar.gz" && \
48
68
        cd @srcdir@ && \
49
69
        echo "making srctarball from @srcdir@" && \
50
70
        echo "GA        $${targ}" && \