tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/webapp/apache-2.0 Makefile.in
Date Fri, 03 May 2002 16:13:40 GMT
pier        02/05/03 09:13:40

  Modified:    webapp/apache-1.3 Makefile.in
               webapp/apache-2.0 Makefile.in
  Log:
  Added the "dist" target to build a binary distribution directory
  
  Revision  Changes    Path
  1.26      +7 -2      jakarta-tomcat-connectors/webapp/apache-1.3/Makefile.in
  
  Index: Makefile.in
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/webapp/apache-1.3/Makefile.in,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- Makefile.in	1 May 2002 21:24:04 -0000	1.25
  +++ Makefile.in	3 May 2002 16:13:40 -0000	1.26
  @@ -56,7 +56,7 @@
   # ========================================================================= #
   
   # @author  Pier Fumagalli <mailto:pier@betaversion.org>
  -# @version $Id: Makefile.in,v 1.25 2002/05/01 21:24:04 pier Exp $
  +# @version $Id: Makefile.in,v 1.26 2002/05/03 16:13:40 pier Exp $
   
   LOCAL_TGT_DIR = @TGT_DIR@/apache-1.3
   LOCAL_SRC_DIR = @SRC_DIR@/apache-1.3
  @@ -66,7 +66,7 @@
   OBJECT = mod_webapp.o
   TARGET = libwebapp.so
   
  -.PHONY: build clean
  +.PHONY: build clean dist
   
   build: $(TARGET)
   
  @@ -77,6 +77,11 @@
   	  echo rm -f $(SOURCE) ; \
   	  rm -f $(SOURCE) ; \
   	fi
  +
  +dist:
  +	$(INSTALL) \
  +	  $(LOCAL_TGT_DIR)/libwebapp.so \
  +	  $(DST_DIR)/mod_webapp.so
   
   $(SOURCE): $(LOCAL_SRC_DIR)/$(SOURCE)
   	ln -s $< $@
  
  
  
  1.7       +17 -3     jakarta-tomcat-connectors/webapp/apache-2.0/Makefile.in
  
  Index: Makefile.in
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/webapp/apache-2.0/Makefile.in,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Makefile.in	1 May 2002 21:23:19 -0000	1.6
  +++ Makefile.in	3 May 2002 16:13:40 -0000	1.7
  @@ -56,7 +56,7 @@
   # ========================================================================= #
   
   # @author  Pier Fumagalli <mailto:pier@betaversion.org>
  -# @version $Id: Makefile.in,v 1.6 2002/05/01 21:23:19 pier Exp $
  +# @version $Id: Makefile.in,v 1.7 2002/05/03 16:13:40 pier Exp $
   
   LOCAL_TGT_DIR = @TGT_DIR@/apache-2.0
   LOCAL_SRC_DIR = @SRC_DIR@/apache-2.0
  @@ -65,8 +65,10 @@
   SOURCE = mod_webapp.c
   OBJECT = mod_webapp.lo
   TARGET = libwebapp.la
  +INSDIR = .inst
  +LIBDIR = .libs
   
  -.PHONY: build clean
  +.PHONY: build clean dist
   
   build: $(TARGET)
   
  @@ -78,7 +80,19 @@
   	  rm -f $(SOURCE) ; \
   	fi
   	rm -f *.o *.slo
  -	rm -rf .libs
  +	rm -rf $(INSDIR) $(LIBDIR)
  +
  +dist: build $(INSDIR)
  +	$(LIBTOOL) --mode=install \
  +	  $(INSTALL) \
  +	    $(LOCAL_TGT_DIR)/$(TARGET) \
  +	    $(LOCAL_TGT_DIR)/$(INSDIR)
  +	$(INSTALL) \
  +	  $(LOCAL_TGT_DIR)/$(INSDIR)/libwebapp.so \
  +	  $(DST_DIR)/mod_webapp.so
  +
  +$(INSDIR):
  +	mkdir $(INSDIR)
   
   $(SOURCE): $(LOCAL_SRC_DIR)/$(SOURCE)
   	ln -s "$<" "$@"
  
  
  

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message