render: Only scale to fit vertically with drivers that support it.
[pspp] / Makefile.am
index 565e730171d96499cd7a0e493ca05bbde695a0d7..0dc9e17797f0382406f93265f09607ce40a4eb5f 100644 (file)
@@ -21,6 +21,7 @@ AUTOMAKE_OPTIONS = std-options check-news 1.10.1 subdir-objects
 SUBDIRS = gl po
 DISTCLEANFILES = ./po/stamp-po xconfigure
 BUILT_SOURCES =
+built-sources: $(BUILT_SOURCES)
 
 AM_CPPFLAGS = \
        -I$(top_srcdir)/gl \
@@ -69,8 +70,6 @@ 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:
@@ -159,4 +158,15 @@ distfiles: Makefile
              -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t" \
          | LC_ALL=C sort -u > $@
 CLEANFILES += distfiles gitfiles missing-distfiles
-PHONY += dist-hook-git
+PHONY += dist-hook-git dummy-prerequisites
+
+-include dummy-prerequisites
+
+dummy-prerequisites: $(BUILT_SOURCES) gl/libgl.la
+
+\f
+
+mimedir = $(datadir)/mime/packages
+mime_DATA =pspp.xml
+EXTRA_DIST += pspp.xml
+