POSIX requires that suffixes used in implicit rules be declared. Automake
allows one to do that by adding the suffixes to a variable named SUFFIXES.
We weren't doing that consistently, and this commit fixes that up.
POSIX doesn't allow suffixes to contain more than one period, so this isn't
a complete fix, since the Makefiles still use .h.pl and .inc.pl as
suffixes. There are other reasons, too, why the PSPP Makefiles are not
POSIX-compliant.
INSTALL_DATA_HOOKS =
UNINSTALL_DATA_HOOKS =
PHONY =
+SUFFIXES = .q
generate-changelog:
if test -d $(top_srcdir)/.git; then \
$(MSGMERGE) $(top_srcdir)/$@ $< -o $@
+SUFFIXES += .po .gmo
.po.gmo:
@$(MKDIR_P) `dirname $@`
$(MSGFMT) $< -o $@
AM_CPPFLAGS += -I$(top_builddir)/src/language/expressions \
-I$(top_srcdir)/src/language/expressions
-SUFFIXES = .h.pl .inc.pl
+SUFFIXES += .h.pl .inc.pl
generate_from_pl = $(MKDIR_P) `dirname $@` && \
$(PERL) -I $(top_srcdir)/src/language/expressions $< -o $@ -i $(top_srcdir)/src/language/expressions/operations.def
src/ui/gui/psppire-marshal.h: src/ui/gui/marshaller-list
glib-genmarshal --header --prefix=psppire_marshal $< > $@
+SUFFIXES += .glade .ui
.glade.ui:
$(top_srcdir)/lib/gtk-contrib/gtk-builder-convert $< $@