perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <gyo...@laserlink.net>
Subject offsite-tar fix
Date Mon, 30 Apr 2001 17:36:18 GMT
Hi...

  make offsite-tar seems to be broken - I guess the location of the header
files changed in the apache layout at some point?

  is anyone actually using this?  it doesn't really make sense to me since
it is only really useful for an APXS build where you have an apache binary
but no source header files (which is a strange thing not to have)

anyway, this seems to fix things...

--Geoff

Index: Makefile.PL
===================================================================
RCS file: /home/cvspublic/modperl/Makefile.PL,v
retrieving revision 1.183
diff -u -r1.183 Makefile.PL
--- Makefile.PL 2001/04/27 17:01:53     1.183
+++ Makefile.PL 2001/04/30 17:31:46
@@ -1390,13 +1390,17 @@
 
 offsite-tar:
        $(CP) MANIFEST MANIFEST.orig
-       $(PERL) -e 'for (<$(APACHE_SRC)/*.h>) {' \
-       -e 'system "$(CP) $$_ src/";' \
+       echo src/Makefile.config >> MANIFEST
+       $(CP) $(APACHE_SRC)/Makefile.config src/Makefile.config
+       mkdir "src/include"
+       $(PERL) -e 'for (<$(APACHE_SRC)/include/*.h>) {' \
+       -e 'system "$(CP) $$_ src/include/";' \
        -e 's,^$(APACHE_SRC),,;' \
        -e 'system "echo src$$_ >> MANIFEST";' \
        -e '}' 
        $(MAKE) dist
-       $(RM_F) src/*.h
+       $(RM_RF) src/include/
+       $(RM) src/Makefile.config
        $(MV) MANIFEST.orig MANIFEST
 
 EOF


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message