X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fdepcomp;h=ffcd540c3366d4ac158cd738c98d712460d99696;hb=6137d09cfa94c1239753382501c31ef97687886b;hp=04701da536f33a7c39d7bb01b87a70ae3a776df5;hpb=015e71380117063bdc728047f3a77c873d6b5496;p=citadel.git diff --git a/webcit/depcomp b/webcit/depcomp index 04701da53..ffcd540c3 100755 --- a/webcit/depcomp +++ b/webcit/depcomp @@ -1,7 +1,7 @@ #! /bin/sh # depcomp - compile a program generating dependencies as side-effects -scriptversion=2005-07-09.11 +scriptversion=2005-02-09.22 # Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. @@ -17,8 +17,8 @@ scriptversion=2005-07-09.11 # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -# 02110-1301, USA. +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a @@ -467,8 +467,7 @@ cpp) done "$@" -E | - sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ - -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | + sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile"