nethercote | 4388a40 | 2004-09-01 23:20:49 +0000 | [diff] [blame] | 1 | all-local: |
tom | fb7bcde | 2005-11-07 15:24:38 +0000 | [diff] [blame^] | 2 | for f in $(noinst_PROGRAMS); do \ |
3 | p=`echo $$f | sed -e 's/^[^-]*-//' -e 's/\..*$$//'`; \ | ||||
4 | n=`echo $$f | sed -e 's/-[^-]\{1,\}-[^-.]\{1,\}//'`; \ | ||||
5 | mkdir -p $(inplacedir)/$$p; \ | ||||
6 | rm -f $(inplacedir)/$$p/$$n; \ | ||||
7 | ln -f -s ../../$(subdir)/$$f $(inplacedir)/$$p/$$n; \ | ||||
8 | done |