This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Integrated preprocessor patch - revised
- To: Zack Weinberg <zack at wolery dot cumb dot org>
- Subject: Re: Integrated preprocessor patch - revised
- From: Philipp Thomas <pthomas at suse dot de>
- Date: Tue, 12 Sep 2000 04:51:43 +0200
- Cc: gcc-bugs at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org,mark at codesourcery dot com
- References: <20000906160226.D31801@wolery.cumb.org> <20000911172117.F23681@Jeffreys.suse.de> <20000911113229.D13727@wolery.cumb.org>
* Zack Weinberg (zack@wolery.cumb.org) [20000911 20:32]:
> > - have a target in po/Makefile that checks the dependencies of
> > gcc.pot (listed in po/POTFILES.in) but doesn't try to build it.
> >
> > That way bootstrapping gcc wouldn't fail only for me and thus such errors
> > would be caught much earlier. If you agree, I'll try to come up with a patch
> > that tackles the second point.
>
> I like this idea.
This should do the trick. From now on bootstrapping should fail for anyone
who forgets to keep POTFILES.in in sync.
2000-09-12 Philipp Thomas <pthomas@suse.de>
* Makefile.in.in (stamp-check-pot): New target used for
checking POTFILES.
* gcc.pot: Regenerated.
* cat-tbl-id.c: Likewise.
Index: Makefile.in.in
===================================================================
RCS file: /cvs/gcc/egcs/gcc/po/Makefile.in.in,v
retrieving revision 1.4
diff -u -r1.4 Makefile.in.in
--- Makefile.in.in 2000/06/06 07:23:42 1.4
+++ Makefile.in.in 2000/09/12 02:28:53
@@ -79,9 +79,12 @@
all: all-@USE_NLS@
-all-yes: $(CATALOGS) @MAINT@ $(srcdir)/cat-id-tbl.c
+all-yes: stamp-check-pot $(CATALOGS) @MAINT@ $(srcdir)/cat-id-tbl.c
all-no:
+stamp-check-pot: $(POTFILES)
+ touch $@
+
$(srcdir)/$(PACKAGE).pot: $(POTFILES)
$(XGETTEXT) --default-domain=$(PACKAGE) --directory=$(top_srcdir) \
--add-comments --keyword=_ --keyword=N_ \
@@ -187,7 +190,7 @@
mostlyclean:
rm -f core core.* *.pox $(PACKAGE).po *.old.po cat-id-tbl.tmp
- rm -fr *.o
+ rm -fr *.o stamp-check-pot
clean: mostlyclean
--
Philipp Thomas <pthomas@suse.de>
Development, SuSE GmbH, Schanzaecker Str. 10, D-90443 Nuremberg, Germany
#define NINODE 50 /* number of in core inodes */
#define NPROC 30 /* max number of processes */
-- Version 7 UNIX for PDP 11, /usr/include/sys/param.h