Mercurial > hg > octave-nkf
diff src/DLD-FUNCTIONS/config-module.awk @ 12163:55ebf5df9ea6
Use Automake and GNU Make variables for increased portability in DLD-FUNCTIONS/*.oct creation
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Tue, 25 Jan 2011 21:38:05 -0800 |
parents | c9f42acd84e2 |
children | edc5ec6e949b |
line wrap: on
line diff
--- a/src/DLD-FUNCTIONS/config-module.awk +++ b/src/DLD-FUNCTIONS/config-module.awk @@ -10,6 +10,7 @@ } { files[++nfiles] = $1; } END { + sep = " \\\n"; print "DLD_FUNCTIONS_SRC = \\"; for (i = 1; i <= nfiles; i++) { if (i == nfiles) @@ -31,7 +32,7 @@ for (i = 1; i <= nfiles; i++) { basename = files[i]; sub (/\.cc$/, "", basename); - printf ("DLD-FUNCTIONS/.%s.oct-stamp: DLD-FUNCTIONS/%s.la\n", basename, basename); + printf ("DLD-FUNCTIONS/$(am__leading_dot)%s.oct-stamp: DLD-FUNCTIONS/%s.la\n", basename, basename); print "\trm -f $(<:.la=.oct)"; print "\tla=$(<F) && \\"; print "\t of=$(<F:.la=.oct) && \\";