This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
avoid installing bogus headers
- To: egcs-bugs at cygnus dot com, egcs-patches at cygnus dot com
- Subject: avoid installing bogus headers
- From: Marc Espie <Marc dot Espie at liafa dot jussieu dot fr>
- Date: Wed, 2 Dec 1998 16:24:57 +0100
The following patch avoids installing bogus `.orig' files generated by
patching from one snapshot to the next.
Index: Makefile.in
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/libstdc++/Makefile.in,v
retrieving revision 1.22
diff -u -r1.22 Makefile.in
--- Makefile.in 1998/09/17 00:30:53 1.22
+++ Makefile.in 1998/12/02 15:22:25
@@ -267,7 +267,7 @@
fi ; \
chmod a-x $(gxx_include_dir)/$$FILE ; \
done ; \
- for FILE in *.h std/*.*; do \
+ for FILE in *.h std/*.h std/*.cc; do \
rm -f $(gxx_include_dir)/$$FILE ; \
$(INSTALL_DATA) $$FILE $(gxx_include_dir)/$$FILE ; \
chmod a-x $(gxx_include_dir)/$$FILE ; \
--
Marc Espie
|anime, sf, juggling, unicycle, acrobatics, comics...
|AmigaOS, OpenBSD, C++, perl, Icon, PostScript...
| `real programmers don't die, they just get out of beta'