ALSOSHIP= system.default system.override \
spec.sgml overview.fig overview.ps \
COPYING buildship install-sh .cvsignore
-GENSHIP= lexer.l lexer.c tokens.h pcsum.h configure config.h.in \
+GENSHIP= lexer.l lexer.c tokens.h configure config.h.in \
spec.html spec.ps overview.ps
SHIPTARGETS= $(SOURCES) $(ALSOSHIP) $(GENSHIP)
$(CC) -c $(CPPFLAGS) $(CFLAGS) lexer.c -o $@
pcsum.h: common.h version.h config.h config.status Makefile
- cat $^ | md5sum | perl -pe 's/../0x$$&,/g; s/,$$//;' >pcsum.h.new
+ cat $^ | md5sum | sed -e 's/../0x&,/g; s/,$$//;' >pcsum.h.new
cmp pcsum.h.new pcsum.h || mv -f pcsum.h.new pcsum.h
+ @rm -f pcsum.h.new
tokens.h: language.i4