~m-grant-prg/obs-utils/trunk

« back to all changes in this revision

Viewing changes to src/conf/etc/Makefile.am

  • Committer: Mark Grant
  • Date: 2022-08-05 08:11:34 UTC
  • mfrom: (0.1.4)
  • Revision ID: m.grant.prg@gmail.com-20220805081134-k7yxnobv8ge45p6u
Merge new upstream development release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#########################################################################
 
2
#                                                                       #
 
3
# Script ID: src/conf/etc/Makefile.am                                   #
 
4
# Author: Copyright (C) 2022  Mark Grant                                #
 
5
#                                                                       #
 
6
# Released under the GPLv3 only.                                        #
 
7
# SPDX-License-Identifier: GPL-3.0-only                                 #
 
8
#                                                                       #
 
9
# Purpose:                                                              #
 
10
# AutoMake script file to install obs-utils configuration files.        #
 
11
#                                                                       #
 
12
#########################################################################
 
13
 
 
14
#########################################################################
 
15
#                                                                       #
 
16
# Changelog                                                             #
 
17
#                                                                       #
 
18
# Date          Author  Version Description                             #
 
19
#                                                                       #
 
20
# 04/08/2022    MG      1.0.1   Initial release.                        #
 
21
#                                                                       #
 
22
#########################################################################
 
23
 
 
24
 
 
25
confdir = $(sysconfdir)
 
26
 
 
27
 
 
28
obs-utils.conf: Makefile
 
29
        mkdir -p $(@D)
 
30
        rm -f $@ $@.tmp
 
31
        test -f ./$@.in || srcdir=$(srcdir)/; \
 
32
        $(edit) $${srcdir}$(@F).in > $@.tmp
 
33
        mv $@.tmp $@
 
34
obs-utils.conf: $(srcdir)/obs-utils.conf.in
 
35
 
 
36
conf_DATA = obs-utils.conf
 
37
 
 
38
EXTRA_DIST = $(srcdir)/obs-utils.conf.in
 
39
 
 
40
CLEANFILES = *.tmp obs-utils.conf
 
41