Edit

thodg/libiconv/man/Makefile.in

Branch :

  • Show log

    Commit

  • Author : Bruno Haible
    Date : 2000-09-22 12:24:19
    Hash : 98128f18
    Message : Support DESTDIR during installation.

  • man/Makefile.in
  • # Makefile for libiconv/man
    
    #### Start of system configuration section. ####
    
    # Directories used by "make":
    srcdir = @srcdir@
    
    # Directories used by "make install":
    prefix = @prefix@
    local_prefix = /usr/local
    exec_prefix = $(prefix)
    mandir = $(prefix)/man
    
    # Programs used by "make":
    RM = rm -f
    @SET_MAKE@
    
    # Programs used by "make install":
    INSTALL = @INSTALL@
    INSTALL_PROGRAM = @INSTALL_PROGRAM@
    INSTALL_DATA = @INSTALL_DATA@
    
    #### End of system configuration section. ####
    
    SHELL = /bin/sh
    
    all :
    
    install : force
    	if [ ! -d $(DESTDIR)$(prefix) ] ; then mkdir $(DESTDIR)$(prefix) ; fi
    	if [ ! -d $(DESTDIR)$(mandir) ] ; then mkdir $(DESTDIR)$(mandir) ; fi
    	if [ ! -d $(DESTDIR)$(mandir)/man3 ] ; then mkdir $(DESTDIR)$(mandir)/man3 ; fi
    	cd $(srcdir) && for f in *.3 ; do echo $(INSTALL_DATA) $$f $(DESTDIR)$(mandir)/man3/$$f ; $(INSTALL_DATA) $$f $(DESTDIR)$(mandir)/man3/$$f ; done
    
    installdirs : force
    	if [ ! -d $(DESTDIR)$(prefix) ] ; then mkdir $(DESTDIR)$(prefix) ; fi
    	if [ ! -d $(DESTDIR)$(mandir) ] ; then mkdir $(DESTDIR)$(mandir) ; fi
    	if [ ! -d $(DESTDIR)$(mandir)/man3 ] ; then mkdir $(DESTDIR)$(mandir)/man3 ; fi
    
    uninstall : force
    	cd $(srcdir) && for f in *.3 ; do echo $(RM) $(DESTDIR)$(mandir)/man3/$$f ; $(RM) $(DESTDIR)$(mandir)/man3/$$f ; done
    
    check :
    
    mostlyclean :
    
    clean :
    
    distclean : force
    	$(RM) Makefile
    
    maintainer-clean : distclean
    
    force :