changeset 8708:7faf87906ca3

examples/Makefile.in (dist): create subdirs of examples, not dist
author John W. Eaton <jwe@octave.org>
date Mon, 09 Feb 2009 14:55:07 -0500
parents e356a54586c3
children d090213c697a
files ChangeLog examples/@polynomial/Makefile.in examples/Makefile.in
diffstat 3 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Feb 09 14:49:20 2009 -0500
+++ b/ChangeLog	Mon Feb 09 14:55:07 2009 -0500
@@ -1,5 +1,7 @@
 2009-02-09  John W. Eaton  <jwe@octave.org>
 
+	* examples/Makefile.in (dist): Create subdirs of examples, not scripts.
+
 	* examples/@polynomial/Makefile.in (do-mkpkgadd):
 	Provide special definition for this directory.
 
--- a/examples/@polynomial/Makefile.in	Mon Feb 09 14:49:20 2009 -0500
+++ b/examples/@polynomial/Makefile.in	Mon Feb 09 14:55:07 2009 -0500
@@ -55,7 +55,7 @@
   subsasgn.m \
   subsref.m
 
-DISTFILES = $(addprefix $(srcdir)/,Makefile.in $(SOURCES))
+DISTFILES = $(addprefix $(srcdir)/, Makefile.in $(SOURCES))
 
 FCN_FILES = $(addprefix $(srcdir)/, $(SOURCES))
 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))
--- a/examples/Makefile.in	Mon Feb 09 14:49:20 2009 -0500
+++ b/examples/Makefile.in	Mon Feb 09 14:55:07 2009 -0500
@@ -135,5 +135,5 @@
 
 dist:
 	ln $(DISTFILES) ../`cat ../.fname`/examples
-	for dir in $(DISTSUBDIRS); do mkdir ../`cat ../.fname`/scripts/$$dir; $(MAKE) -C $$dir $@; done
+	for dir in $(DISTSUBDIRS); do mkdir ../`cat ../.fname`/examples/$$dir; $(MAKE) -C $$dir $@; done
 .PHONY: dist