diff src/Makefile.am @ 10004:e517da95bf98

Eliminate TOPDIR variable in favor of built-in automake variables top_builddir and top_srcdir.
author Rik <rdrider0-list@yahoo.com>
date Sat, 19 Dec 2009 22:58:54 -0800
parents a7e288044ef7
children 66d56fb7cbb8
line wrap: on
line diff
--- a/src/Makefile.am	Sat Dec 19 14:24:02 2009 -0800
+++ b/src/Makefile.am	Sat Dec 19 22:58:54 2009 -0800
@@ -19,9 +19,7 @@
 # along with Octave; see the file COPYING.  If not, see
 # <http://www.gnu.org/licenses/>.
 
-TOPDIR = ..
-
-include ../common.mk
+include $(top_srcdir)/common.mk
 
 octlib_LTLIBRARIES = \
   liboctinterp.la