From 8ec823cac8dd9eee5d0ad6cee9d001b9fdb673ba Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sun, 11 Oct 2020 19:13:52 +0200 Subject: [PATCH] Fix build of pspp.xml --- Makefile.am | 7 ++++++- doc/automake.mk | 7 ++++--- src/ui/gui/automake.mk | 2 -- src/ui/gui/pspp.xml | 16 ---------------- 4 files changed, 10 insertions(+), 22 deletions(-) delete mode 100644 src/ui/gui/pspp.xml diff --git a/Makefile.am b/Makefile.am index 3a71973ca3..565e730171 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,5 @@ ## PSPP - a program for statistical analysis. -## Copyright (C) 2019 Free Software Foundation, Inc. +## Copyright (C) 2019, 2020 Free Software Foundation, Inc. ## ## This program is free software: you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -66,6 +66,11 @@ PHONY = SUFFIXES = .q LDADD = gl/libgl.la +gl/libgl.la: config.h + $(MAKE) -C gl + +dist: gl/libgl.la + # This ensures that files added to EXTRA_DIST are always distributed, # even if they are inside an Automake if...endif conditional block that is # disabled by some particular "configure" run. For more information, see: diff --git a/doc/automake.mk b/doc/automake.mk index 61a35f9fe3..990a8c458b 100644 --- a/doc/automake.mk +++ b/doc/automake.mk @@ -78,7 +78,7 @@ $(srcdir)/doc/tut.texi: $(AM_V_GEN)echo "@set example-dir $(examplesdir)" > $@ -$(srcdir)/doc/pspp.xml: doc/pspp.texi $(doc_pspp_TEXINFOS) $(top_srcdir)/doc/help-pages-list +doc/pspp.xml: doc/pspp.texi $(doc_pspp_TEXINFOS) doc/help-pages-list if BROKEN_DOCBOOK_XML touch $@ else @@ -91,13 +91,13 @@ docbookdir = $(docdir) dist_docbook_DATA = doc/pspp.xml -CLEANFILES += pspp-dev.dvi $(docbook_DATA) doc/pspp.info* +CLEANFILES += pspp-dev.dvi $(docbook_DATA) doc/pspp.info* doc/pspp.xml doc: $(INFO_DEPS) $(DVIS) $(PDFS) $(PSS) $(HTMLS) $(dist_docbook_DATA) PHONY += doc -$(top_srcdir)/doc/help-pages-list: $(UI_FILES) +doc/help-pages-list: $(UI_FILES) $(AM_V_GEN)cat $^ | grep '"help[-_]page"' | \ $(SED) -e 's% *\([^<]*\)%//*[@id='"'"'\1'"'"']%' \ -e 's%#%'"'"']/*[@id='"'"'%g' > $@,tmp @@ -140,6 +140,7 @@ $(top_builddir)/doc/pspp.ps: $(EXAMPLE_OUTPUTS) $(top_builddir)/doc/pspp.dvi: $(EXAMPLE_OUTPUTS) $(top_builddir)/doc/pspp.html: $(EXAMPLE_HTML) $(top_builddir)/doc/pspp.pdf: $(EXAMPLE_OUTPUTS) +$(top_builddir)/doc/pspp.xml: $(EXAMPLE_OUTPUTS) # The examples cannot be built until the binary has been built $(EXAMPLE_OUTPUTS): $(top_builddir)/src/ui/terminal/pspp diff --git a/src/ui/gui/automake.mk b/src/ui/gui/automake.mk index f169878887..2ca50a89da 100644 --- a/src/ui/gui/automake.mk +++ b/src/ui/gui/automake.mk @@ -397,8 +397,6 @@ src/ui/gui/psppire-marshal.h: src/ui/gui/marshaller-list $(AM_V_GEN)$(GLIB_GENMARSHAL) --header --prefix=psppire_marshal $? > $@ mimedir = $(datadir)/mime/packages -mime_DATA = src/ui/gui/pspp.xml -EXTRA_DIST += src/ui/gui/pspp.xml desktopdir = $(datadir)/applications desktop_DATA = src/ui/gui/org.fsf.pspp.desktop diff --git a/src/ui/gui/pspp.xml b/src/ui/gui/pspp.xml deleted file mode 100644 index 4f925c4c08..0000000000 --- a/src/ui/gui/pspp.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - SPSS syntax file - SPSS - Statistical Package for the Social Sciences - - - - SPSS output file - SPSS - Statistical Package for the Social Sciences - - - - -- 2.30.2