apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject cvs commit: apr CHANGES Makefile.in
Date Tue, 03 Apr 2001 20:32:07 GMT
rbb         01/04/03 13:32:07

  Modified:    .        CHANGES Makefile.in
  Log:
  Allow APR to be installed using `make install`
  
  Revision  Changes    Path
  1.84      +2 -0      apr/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apr/CHANGES,v
  retrieving revision 1.83
  retrieving revision 1.84
  diff -u -d -b -w -u -r1.83 -r1.84
  --- CHANGES	2001/04/03 01:19:39	1.83
  +++ CHANGES	2001/04/03 20:32:05	1.84
  @@ -1,5 +1,7 @@
   Changes with APR b1  
   
  +  *) Allow APR to be installed. [Ryan Bloom]
  +
     *) Generate config.nice for easy re-run of configure. [Roy Fielding]
   
     *) Define preprocessor flags in CPPFLAGS instead of CFLAGS and
  
  
  
  1.44      +14 -2     apr/Makefile.in
  
  Index: Makefile.in
  ===================================================================
  RCS file: /home/cvs/apr/Makefile.in,v
  retrieving revision 1.43
  retrieving revision 1.44
  diff -u -d -b -w -u -r1.43 -r1.44
  --- Makefile.in	2001/02/18 15:52:12	1.43
  +++ Makefile.in	2001/04/03 20:32:06	1.44
  @@ -35,8 +35,10 @@
   
   SCANDOC_TEMPLATE = -i$(apr_builders)/scandoc_template.pl
   
  -### fix this up at some point (install location)
  -libdir = /usr/local/lib
  +prefix=@prefix@
  +exec_prefix=@exec_prefix@
  +libdir=@libdir@
  +includedir=@includedir@
   
   delete-lib:
   	@if test -f $(TARGET_LIB); then \
  @@ -47,6 +49,16 @@
   		$(RM) -f $(TARGET_LIB) ; \
   	    fi \
   	fi
  +
  +install: $(TARGET_LIB)
  +	if [ ! -d $(includedir) ]; then \
  +	    ./build/mkdir.sh $(includedir); \
  +	fi; \
  +	cp include/*.h $(includedir); \
  +	if [ ! -d $(libdir) ]; then \
  +	    ./build/mkdir.sh $(libdir); \
  +	fi; \
  +	libtool --mode=install cp $(TARGET_LIB) $(libdir)
   
   $(TARGET_LIB):
   	@for i in $(SUBDIRS); do objects="$$objects $$i/*.lo"; done ; \
  
  
  

Mime
View raw message