Fix EXTRA_DIST in Makefiles.
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 21 Feb 2012 19:25:12 +0000 (19:25 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 21 Feb 2012 19:25:12 +0000 (19:25 +0000)
daemon/Makefile.am
lib/Makefile.am
tests/jobs/Makefile.am
tests/parsing/Makefile.am
tools/Makefile.am

index e388676..0599e56 100644 (file)
@@ -15,6 +15,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
+EXTRA_DIST = $(SOURCES) whenjobsd.pod
+
 sbin_SCRIPTS = whenjobsd
 
 OCAMLPACKAGES = -package unix,num,camlp4.lib,calendar,rpc -I ../lib
 sbin_SCRIPTS = whenjobsd
 
 OCAMLPACKAGES = -package unix,num,camlp4.lib,calendar,rpc -I ../lib
index 5ab4128..31d6ec0 100644 (file)
@@ -15,6 +15,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
+EXTRA_DIST = whenproto.x pa_when.ml $(SOURCES)
+
 libwhenjobsdir = $(libdir)/$(PACKAGE_NAME)
 libwhenjobs_SCRIPTS = whenlib.cma pa_when.cmo
 
 libwhenjobsdir = $(libdir)/$(PACKAGE_NAME)
 libwhenjobs_SCRIPTS = whenlib.cma pa_when.cmo
 
index 079a519..6c0c6b0 100644 (file)
@@ -15,7 +15,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
-EXTRA_DIST = test_run.sh $(TESTS)
+EXTRA_DIST = test_run.sh $(TESTS) $(TESTS:.ml=.ml.expected)
 
 TESTS_ENVIRONMENT = ./test_run.sh
 TESTS = t100_counter.ml t101_updown.ml t102_manyjobs.ml
 
 TESTS_ENVIRONMENT = ./test_run.sh
 TESTS = t100_counter.ml t101_updown.ml t102_manyjobs.ml
index 021a365..fe224da 100644 (file)
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
-tests = t010_load.cmo t020_simple.cmo t030_jobnames.cmo
+EXTRA_DIST = $(SOURCES) test_load.ml
+
+SOURCES = t010_load.ml t020_simple.ml t030_jobnames.ml
+
+tests = $(SOURCES:.ml=.cmo)
 
 check_SCRIPTS = test_load $(tests)
 
 
 check_SCRIPTS = test_load $(tests)
 
index 506bc1a..20b659e 100644 (file)
@@ -15,6 +15,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
+EXTRA_DIST = $(SOURCES) whenjobs.pod
+
 bin_SCRIPTS = whenjobs
 
 OCAMLPACKAGES = -package unix,num,camlp4.lib,calendar,rpc -I ../lib
 bin_SCRIPTS = whenjobs
 
 OCAMLPACKAGES = -package unix,num,camlp4.lib,calendar,rpc -I ../lib