Makefile.am: Add rule to ensure that glade/OChangeLog is always distributed.
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 23 Dec 2013 17:00:11 +0000 (09:00 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Mon, 23 Dec 2013 17:00:11 +0000 (09:00 -0800)
Otherwise it only gets distributed if configured --with-gui-tools.

Makefile.am

index a5a7d5c79e94bb789c5f0a3156da65978931648c..6e60789d2b860f89fc7245451853d94c188a2709 100644 (file)
@@ -48,6 +48,12 @@ PHONY =
 SUFFIXES = .q
 LDADD = 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:
+# http://article.gmane.org/gmane.comp.sysutils.automake.general/10891
+noinst_HEADERS = $(EXTRA_DIST)
+
 generate-changelog:
        if test -d $(top_srcdir)/.git; then                     \
          $(top_srcdir)/build-aux/gitlog-to-changelog --since=2008-07-27        \