This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]