[Wisp-cvs] wisp/tools Makefile.am,1.14,1.15
Status: Alpha
Brought to you by:
digg
From: <di...@us...> - 2003-01-07 12:02:56
|
Update of /cvsroot/wisp/wisp/tools In directory sc8-pr-cvs1:/tmp/cvs-serv2729/tools Modified Files: Makefile.am Log Message: Fix shebang lines of installed scripts to match --with-prefix. Index: Makefile.am =================================================================== RCS file: /cvsroot/wisp/wisp/tools/Makefile.am,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- Makefile.am 11 Sep 2002 17:35:32 -0000 1.14 +++ Makefile.am 7 Jan 2003 12:02:47 -0000 1.15 @@ -17,3 +17,11 @@ $(PERL) $< > $@ .PHONY: pretty.ssh + +# The DESTDIR feature doesn't seem to be completed in automake 1.4-p4. +install: install-am + @for f in $(bin_SCRIPTS); do \ + echo ed $(DESTDIR)$(bindir)/$$f ; \ + ( echo '1s,#! *[^ ]*/,#! $(bindir)/,'; \ + echo 'wq' ) | ed $(DESTDIR)$(bindir)/$$f ; \ + done |