Avoids a warning from Automake in Smake:
src/ui/gui/automake.mk:463: warning: .PHONY was already defined in condition TRUE, which includes condition HAVE_GUI ...
Makefile.am:91: 'src/automake.mk' included from here
src/automake.mk:55: 'src/ui/automake.mk' included from here
src/ui/automake.mk:21: 'src/ui/gui/automake.mk' included from here
po/automake.mk:128: ... '.PHONY' previously defined here
Makefile.am:87: 'po/automake.mk' included from here
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t" \
| LC_ALL=C sort -u > $@
CLEANFILES += distfiles gitfiles missing-distfiles
-.PHONY: dist-hook-git
+PHONY += dist-hook-git
CLEANFILES += pspp-dev.dvi $(docbook_DATA)
doc: $(INFO_DEPS) $(DVIS) $(PDFS) $(PSS) $(HTMLS) $(dist_docbook_DATA)
-.PHONY: doc
+PHONY += doc
# Download the po files from http://translationproject.org
# The final action to this rule is to remove the .pot file. This
# is because the po files must be re-merged against an updated version of it.
-.PHONY: po-update
+PHONY += po-update
po-update: $(POFILES)
for p in $^; do \
wget --recursive --level=1 --accept=po --no-directories --no-use-server-timestamps \
$(SED) -e 's%\@abs_top_srcdir\@%@abs_top_srcdir@%g' -e 's%\@abs_top_builddir\@%@abs_top_builddir@%g' $< > $@
chmod a+x $@
-.PHONY: glade-tools
+PHONY += glade-tools
glade-tools: src/ui/gui/glade-wrapper src/ui/gui/libpsppire-glade.la
# This works around a possible bug in Automake 1.16.1 which installs