POSIX only requires $< to be defined for implicit rules, so don't use it
in target rules.
With this commit, PSPP builds properly from a tarball with NetBSD make
version 1.111 on Debian GNU/Linux.
doc/pspp.xml: doc/pspp.texinfo $(doc_pspp_TEXINFOS)
@$(MKDIR_P) doc
- $(MAKEINFO) $(AM_MAKEINFOFLAGS) --docbook -I $(top_srcdir) $< -o - \
+ $(MAKEINFO) $(AM_MAKEINFOFLAGS) --docbook -I $(top_srcdir) \
+ $(top_srcdir)/doc/pspp.texinfo -o - \
| $(SED) 's/Time-&-Date/Time-\&-Date/g' > $@
docbookdir = $(docdir)
$(POFILES): $(POTFILE)
- $(MSGMERGE) $(top_srcdir)/$@ $< -o $@
+ $(MSGMERGE) $(top_srcdir)/$@ $? -o $@
SUFFIXES += .po .gmo
src/ui/gui/psppire-marshal.c: src/ui/gui/marshaller-list
echo '#include <config.h>' > $@
- glib-genmarshal --body --prefix=psppire_marshal $< >> $@
+ glib-genmarshal --body --prefix=psppire_marshal $? >> $@
src/ui/gui/psppire-marshal.h: src/ui/gui/marshaller-list
- glib-genmarshal --header --prefix=psppire_marshal $< > $@
+ glib-genmarshal --header --prefix=psppire_marshal $? > $@
SUFFIXES += .glade .ui
.glade.ui: