Makefile.am: Add built-sources target.
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 12 Oct 2020 01:51:07 +0000 (18:51 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Mon, 12 Oct 2020 02:18:26 +0000 (19:18 -0700)
This makes it easier to test targets that need the built sources built
first, e.g. "make clean && make built-sources && make src/ui/terminal/pspp"

Makefile.am

index 565e730171d96499cd7a0e493ca05bbde695a0d7..15a94b424b7d19b2d138a502828e221322022077 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 \