This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Problem with c-gperf.h and c-parse.gperf
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Problem with c-gperf.h and c-parse.gperf
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Thu, 24 Aug 2000 13:36:42 -0700
The generated file c-gperf.h is in CVS. Its rule is
$(srcdir)/c-gperf.h: c-parse.gperf
gperf -L C -F ', 0, 0' -p -j1 -i 1 -g -o -t -G -N is_reserved_word \
-k1,3,$$ $(srcdir)/c-parse.gperf >tmp-gperf.h || ( \
echo "See $(website)/cvs.html#generated_files" >&2 ; \
exit 1 )
$(SHELL) $(srcdir)/move-if-change tmp-gperf.h $(srcdir)/c-gperf.h
If for some reason, c-gperf.h has an older time stamp than c-parse.gperf
and there is no change in c-gperf.h, c-gperf.h will never get updated.
From today's CVS checkout, I got
-rw-r--r-- 1 hjl hjl 8659 Apr 4 17:01 c-gperf.h
-rw-r--r-- 1 hjl hjl 2950 Apr 4 17:02 c-parse.gperf
I think we should remove c-gperf.h from CVS. It should be generated
for each tar ball, not in the CVS checkout.
H.J.