[Wisp-cvs] wisp/tools Makefile.am,1.15,1.16
Status: Alpha
Brought to you by:
digg
From: <di...@us...> - 2003-02-07 21:38:49
|
Update of /cvsroot/wisp/wisp/tools In directory sc8-pr-cvs1:/tmp/cvs-serv7947/tools Modified Files: Makefile.am Log Message: fixed auto-shebanging in the context of Debian packaging Index: Makefile.am =================================================================== RCS file: /cvsroot/wisp/wisp/tools/Makefile.am,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- Makefile.am 7 Jan 2003 12:02:47 -0000 1.15 +++ Makefile.am 7 Feb 2003 21:38:45 -0000 1.16 @@ -18,10 +18,12 @@ .PHONY: pretty.ssh +interpdir := $(shell echo $(bindir) | sed -e 's,^.*/debian/tmp/,/,') + # 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 '1s,#! *[^ ]*/,#! $(interpdir)/,'; \ echo 'wq' ) | ed $(DESTDIR)$(bindir)/$$f ; \ done |