From a0d343bfea40507c4575320fea70aacbbf09799d Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sun, 11 Oct 2009 13:53:50 -0700 Subject: [PATCH] Drop double suffixes from makefiles to improve POSIX make compliance. POSIX says that suffixes must contain only a single dot, e.g. ".inc.pl" is not allowed. So this commit renames files and adjusts the makefiles to comply with this rule. --- src/language/expressions/automake.mk | 8 ++++---- src/language/expressions/{evaluate.h.pl => evaluate.hpl} | 0 .../expressions/{evaluate.inc.pl => evaluate.incpl} | 0 .../expressions/{operations.h.pl => operations.hpl} | 0 .../expressions/{optimize.inc.pl => optimize.incpl} | 0 src/language/expressions/{parse.inc.pl => parse.incpl} | 0 6 files changed, 4 insertions(+), 4 deletions(-) rename src/language/expressions/{evaluate.h.pl => evaluate.hpl} (100%) rename src/language/expressions/{evaluate.inc.pl => evaluate.incpl} (100%) rename src/language/expressions/{operations.h.pl => operations.hpl} (100%) rename src/language/expressions/{optimize.inc.pl => optimize.incpl} (100%) rename src/language/expressions/{parse.inc.pl => parse.incpl} (100%) diff --git a/src/language/expressions/automake.mk b/src/language/expressions/automake.mk index 4dc2d145..11eb8e0b 100644 --- a/src/language/expressions/automake.mk +++ b/src/language/expressions/automake.mk @@ -23,19 +23,19 @@ helpers = src/language/expressions/generate.pl \ src/language/expressions/operations.def $(expressions_built_sources): $(helpers) -EXTRA_DIST += $(helpers) $(expressions_built_sources:=.pl) +EXTRA_DIST += $(helpers) $(expressions_built_sources:=pl) AM_CPPFLAGS += -I$(top_builddir)/src/language/expressions \ -I$(top_srcdir)/src/language/expressions -SUFFIXES += .h.pl .inc.pl +SUFFIXES += .h .hpl .inc .incpl generate_from_pl = $(MKDIR_P) `dirname $@` && \ $(PERL) -I $(top_srcdir)/src/language/expressions $< -o $@ -i $(top_srcdir)/src/language/expressions/operations.def -.h.pl.h: +.hpl.h: $(generate_from_pl) -.inc.pl.inc: +.incpl.inc: $(generate_from_pl) EXTRA_DIST += src/language/expressions/OChangeLog diff --git a/src/language/expressions/evaluate.h.pl b/src/language/expressions/evaluate.hpl similarity index 100% rename from src/language/expressions/evaluate.h.pl rename to src/language/expressions/evaluate.hpl diff --git a/src/language/expressions/evaluate.inc.pl b/src/language/expressions/evaluate.incpl similarity index 100% rename from src/language/expressions/evaluate.inc.pl rename to src/language/expressions/evaluate.incpl diff --git a/src/language/expressions/operations.h.pl b/src/language/expressions/operations.hpl similarity index 100% rename from src/language/expressions/operations.h.pl rename to src/language/expressions/operations.hpl diff --git a/src/language/expressions/optimize.inc.pl b/src/language/expressions/optimize.incpl similarity index 100% rename from src/language/expressions/optimize.inc.pl rename to src/language/expressions/optimize.incpl diff --git a/src/language/expressions/parse.inc.pl b/src/language/expressions/parse.incpl similarity index 100% rename from src/language/expressions/parse.inc.pl rename to src/language/expressions/parse.incpl -- 2.30.2