changeset 8707:e356a54586c3

examples/@polynomial/Makefile.in (do-mkpkgadd): special definition for this directory
author John W. Eaton <jwe@octave.org>
date Mon, 09 Feb 2009 14:49:20 -0500
parents 280fb6b699b8
children 7faf87906ca3
files ChangeLog examples/@polynomial/Makefile.in
diffstat 2 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Feb 09 14:20:12 2009 -0500
+++ b/ChangeLog	Mon Feb 09 14:49:20 2009 -0500
@@ -1,5 +1,8 @@
 2009-02-09  John W. Eaton  <jwe@octave.org>
 
+	* examples/@polynomial/Makefile.in (do-mkpkgadd):
+	Provide special definition for this directory.
+
 	* examples/Makefile.in (EXAMPLE_SOURCES): Delete unused variable.
 	(SUBDIRS, DISTSUBDIRS): Don't reset to empty.
 
--- a/examples/@polynomial/Makefile.in	Mon Feb 09 14:20:12 2009 -0500
+++ b/examples/@polynomial/Makefile.in	Mon Feb 09 14:49:20 2009 -0500
@@ -28,6 +28,15 @@
 
 include $(TOPDIR)/Makeconf
 
+define do-mkpkgadd
+$(top_srcdir)/scripts/mkpkgadd $(srcdir) > PKG_ADD.t
+if [ -n "`cat PKG_ADD.t`" ]; then \
+  mv PKG_ADD.t PKG_ADD ; \
+else \
+  rm -f PKG_ADD.t ; \
+fi
+endef
+
 INSTALL = @INSTALL@
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
 INSTALL_DATA = @INSTALL_DATA@