## 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
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:
$(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
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% *<property name="help[-_]page">\([^<]*\)</property>%//*[@id='"'"'\1'"'"']%' \
-e 's%#%'"'"']/*[@id='"'"'%g' > $@,tmp
$(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
$(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
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
- <mime-type type="application/x-spss-sps">
- <comment>SPSS syntax file</comment>
- <acronym>SPSS</acronym>
- <expanded-acronym>Statistical Package for the Social Sciences</expanded-acronym>
- <glob pattern="*.sps"/>
- </mime-type>
- <mime-type type="application/x-spss-spv">
- <comment>SPSS output file</comment>
- <acronym>SPSS</acronym>
- <expanded-acronym>Statistical Package for the Social Sciences</expanded-acronym>
- <glob pattern="*.spv"/>
- </mime-type>
-</mime-info>
-