From c19391e1be5cc05b5b215ca30bd5a5b8d01893a9 Mon Sep 17 00:00:00 2001 From: Davide Madrisan Date: Sun, 11 Nov 2012 19:35:04 +0100 Subject: [PATCH] conf/Makefile: simplify the makefile by removing the static list of files Signed-off-by: Davide Madrisan --- ChangeLog | 4 ++++ conf/Makefile | 27 ++++----------------------- 2 files changed, 8 insertions(+), 23 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1895e41..a7228e2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -51,6 +51,10 @@ Changes in version 1.14.2 Allow users to write and select customized color schemes: ~/.autospec.d/color-theme." ++ update + * conf/Makefile - Davide Madrisan: + Simplify the makefile by removing the static list of files. + ------------------------------------------------------------------------------- Changes in version 1.14.1 - _TO*Hacklab release diff --git a/conf/Makefile b/conf/Makefile index 1135d81..9507f7f 100644 --- a/conf/Makefile +++ b/conf/Makefile @@ -18,30 +18,11 @@ srcdir = .. include $(srcdir)/Makefile.env -pck_confs := autospec.conf \ - 00-distribution.conf \ - 01-repositories.conf \ - 02-specfile-approved-licenses.conf \ - 02-specfile-autoformatting.conf \ - 02-specfile-default-values.conf \ - 02-specfile-formatting-rules.conf \ - 02-specfile-man-info-settings.conf \ - 02-specfile-rpm-groups.conf \ - 02-specfile-rpm-macros-debug.conf \ - 02-specfile-rpm-macros-perl.conf \ - 02-specfile-rpm-macros-python.conf \ - 02-specfile-rpm-macros.conf \ - 03-apse.conf \ - 04-rpmbuild-format-unpackaged-filelist.conf \ - 05-system-external-commands.conf \ - 06-security-packager-group.conf \ - 06-security-system-library-paths.conf +pck_confs_infiles := $(wildcard *.conf.in) +pck_confs := \ + $(wildcard *.conf) $(patsubst %.conf.in,%.conf,$(wildcard *.conf.in)) -pck_confs_infiles := $(wildcard *.in) - -pck_color_themes := color-theme.default \ - color-theme.terminal-dark color-theme.terminal-white color-theme.web \ - color-theme.none +pck_color_themes := $(wildcard color-theme.*) all: