Skip to content

Commit

Permalink
2021-07-31 Fred Gleason <[email protected]>
Browse files Browse the repository at this point in the history
	* Added a warning to files derived by the build system.

Signed-off-by: Fred Gleason <[email protected]>
  • Loading branch information
ElvishArtisan committed Jul 31, 2021
1 parent 35e23c2 commit 8d182fd
Show file tree
Hide file tree
Showing 18 changed files with 83 additions and 8 deletions.
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -22134,3 +22134,5 @@
2021-07-31 Fred Gleason <[email protected]>
* Fixed a bug in 'systemd/daemon-reload.sh' that broke the
'make deb' target.
2021-07-31 Fred Gleason <[email protected]>
* Added a warning to files derived by the build system.
2 changes: 2 additions & 0 deletions apis/rivwebcapi/rivwebcapi.pc.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@GENERATED_SCRIPT_FILE_WARNING@

prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
Expand Down
2 changes: 2 additions & 0 deletions build_debs.sh.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

@GENERATED_SCRIPT_FILE_WARNING@

# build_debs.sh
#
# Build Debian packages.
Expand Down
6 changes: 4 additions & 2 deletions conf/rd-bin.conf.in
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# rd-bin.conf
#

@GENERATED_SCRIPT_FILE_WARNING@

# This is the Apache Web Server configuration for Rivendell.
#
# (C) Copyright 2007-2020 Fred Gleason <[email protected]>
# (C) Copyright 2007-2021 Fred Gleason <[email protected]>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
Expand Down
12 changes: 12 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,18 @@ else
fi
AC_SUBST(RPM_DATESTAMP,`date +%a\ %b\ %d\ %Y`)

#
# Generated File Warnings
#
AC_SUBST_FILE(GENERATED_C_FILE_WARNING)
GENERATED_C_FILE_WARNING=$srcdir/helpers/c_file_warning

AC_SUBST_FILE(GENERATED_SCRIPT_FILE_WARNING)
GENERATED_SCRIPT_FILE_WARNING=$srcdir/helpers/script_file_warning

AC_SUBST_FILE(GENERATED_XML_FILE_WARNING)
GENERATED_XML_FILE_WARNING=$srcdir/helpers/xml_file_warning

#
# Create icon symlinks for Operations Guide
#
Expand Down
4 changes: 3 additions & 1 deletion docs/opsguide/frontspiece.xml.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@GENERATED_XML_FILE_WARNING@

<info xmlns="http://docbook.org/ns/docbook">
<title>Rivendell Radio Automation System</title>
<subtitle>Operations and Administration Guide</subtitle>
Expand All @@ -9,7 +11,7 @@
<edition>
@VERSION@
</edition>
<copyright><year>2003-2020</year><holder>Fred Gleason</holder></copyright>
<copyright><year>2003-2021</year><holder>Fred Gleason</holder></copyright>
<legalnotice>
<para>
Permission is granted to copy, distribute and/or modify this document
Expand Down
7 changes: 5 additions & 2 deletions helpers/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,15 @@ dist_cwrap_SOURCES = cwrap.cpp cwrap.h

dist_jsmin_SOURCES = jsmin.c

EXTRA_DIST = rdi18n_helper.sh.in\
EXTRA_DIST = c_file_warning\
install_python.sh.in\
rdi18n_helper.sh.in\
rdpack.sh\
rdtrans.sh\
rdtransgui.sh\
setenvvar.sh
script_file_warning\
setenvvar.sh\
xml_file_warning

CLEANFILES = *~\
*.tar.gz\
Expand Down
12 changes: 12 additions & 0 deletions helpers/c_file_warning
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/*
**************************************************************************
* WARNING! WARNING! WARNING! *
* *
* The contents of this file are automatically generated by the build *
* system. Do not make any changes directly to this file; such changes *
* will be silently ignored and overwritten! *
* *
* The template whence this file's contents were derived are in a file *
* of the same name with ".in" appended. *
**************************************************************************
*/
4 changes: 3 additions & 1 deletion helpers/install_python.sh.in
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#!/bin/sh

@GENERATED_SCRIPT_FILE_WARNING@

# install_python.sh
#
# (C) Copyright 2018 Fred Gleason <[email protected]>
# (C) Copyright 2018-2021 Fred Gleason <[email protected]>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
Expand Down
2 changes: 2 additions & 0 deletions helpers/rdi18n_helper.sh.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

@GENERATED_SCRIPT_FILE_WARNING@

# rdi18n_helper.sh
#
# Helper script for managing internationalization files for Rivendell
Expand Down
10 changes: 10 additions & 0 deletions helpers/script_file_warning
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
############################################################################
# WARNING! WARNING! WARNING! #
# #
# The contents of this file are automatically generated by the build #
# system. Do not make any changes directly to this file; such changes #
# will be silently ignored and overwritten! #
# #
# The template whence this file's contents were derived are in a file #
# of the same name with ".in" appended. #
############################################################################
12 changes: 12 additions & 0 deletions helpers/xml_file_warning
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!--
**************************************************************************
* WARNING! WARNING! WARNING! *
* *
* The contents of this file are automatically generated by the build *
* system. Do not make any changes directly to this file; such changes *
* will be silently ignored and overwritten! *
* *
* The template whence this file's contents are derived are in a file *
* of the same name with ".in" appended. *
**************************************************************************
-->
4 changes: 3 additions & 1 deletion lib/rdpaths.h.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// rdpaths.h
//

@GENERATED_C_FILE_WARNING@

// Install-Dependent Path Values for Rivendell
//
// (C) Copyright 2008-2021 Fred Gleason <[email protected]>
Expand Down
4 changes: 3 additions & 1 deletion rivendell.spec.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## rivendell.spec.in
##

@GENERATED_SCRIPT_FILE_WARNING@

## The Rivendell Radio Automation System
## Copyright (C) 2002-2021 Fred Gleason <[email protected]>
##
Expand Down
2 changes: 2 additions & 0 deletions systemd/rivendell.service.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@GENERATED_SCRIPT_FILE_WARNING@

[Unit]
Description=Rivendell Radio Automation System
After=network.target remote-fs.target nss-lookup.target
Expand Down
2 changes: 2 additions & 0 deletions xdg/install_usermode.sh.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

@GENERATED_SCRIPT_FILE_WARNING@

# install_usermode.sh
#
# Install support files for usermode wrapper
Expand Down
2 changes: 2 additions & 0 deletions xdg/rdalsaconfig-root-consolehelper.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@GENERATED_SCRIPT_FILE_WARNING@

USER=root
PROGRAM=@prefix@/bin/rdalsaconfig
SESSION=true
2 changes: 2 additions & 0 deletions xdg/rddbconfig-root-consolehelper.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@GENERATED_SCRIPT_FILE_WARNING@

USER=root
PROGRAM=@prefix@/bin/rddbconfig
SESSION=true

0 comments on commit 8d182fd

Please sign in to comment.