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
|
#########################################################################
# #
# Script ID: src/conf/etc/Makefile.am #
# Author: Copyright (C) 2022 Mark Grant #
# #
# Released under the GPLv3 only. #
# SPDX-License-Identifier: GPL-3.0-only #
# #
# Purpose: #
# AutoMake script file to install obs-utils configuration files. #
# #
#########################################################################
#########################################################################
# #
# Changelog #
# #
# Date Author Version Description #
# #
# 04/08/2022 MG 1.0.1 Initial release. #
# #
#########################################################################
confdir = $(sysconfdir)
obs-utils.conf: Makefile
mkdir -p $(@D)
rm -f $@ $@.tmp
test -f ./$@.in || srcdir=$(srcdir)/; \
$(edit) $${srcdir}$(@F).in > $@.tmp
mv $@.tmp $@
obs-utils.conf: $(srcdir)/obs-utils.conf.in
conf_DATA = obs-utils.conf
EXTRA_DIST = $(srcdir)/obs-utils.conf.in
CLEANFILES = *.tmp obs-utils.conf
|