This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
patch to add pax support
- From: David Gómez <david at pleyades dot net>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 9 Oct 2003 18:14:21 +0200
- Subject: patch to add pax support
Hi all ;),
This patch adds a install-headers-pax to the gcc Makefile, for installations
that wants to use pax to install include headers. Anyway, the default target
in INSTALL_HEADERS_DIR is still 'install-headers-tar' and that should be
changed to 'install-headers-cp' as noted in
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8018
--- gcc/Makefile.old Mon May 26 16:56:43 2003
+++ gcc/Makefile.in Mon May 26 18:00:46 2003
@@ -3002,6 +3002,10 @@
# and that can lose with GNU tar which always writes a full block.
# So use `exit 0' to ignore its exit status.
+# Install the include directory using pax
+install-headers-pax: stmp-int-hdrs $(SMTP_FIXPROTO) install-include-dir
+ pax -w include | (cd $(DESTDIR)$(libsubdir); pax -r)
+
# Install the include directory using cpio.
install-headers-cpio: stmp-int-hdrs $(STMP_FIXPROTO) install-include-dir
# See discussion about the use of `pwd` above
--
David Gómez
"The question of whether computers can think is just like the question of
whether submarines can swim." -- Edsger W. Dijkstra