Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-889

missing DESTDIR for apxs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • all
    • 0.14.3
    • install
    • None
    • Linux

    Description

      This one is needed to make install with DESTDIR=/foo/bar
      
      
      Index: ./Makefile.in
      ===================================================================
      --- ./Makefile.in
      +++ ./Makefile.in	Fri Jul 26 23:45:35 2002
      @@ -86,6 +86,8 @@
       
       INSTALL_SWIG_PY_LIB = $(INSTALL_LIB)
       
      +APXS = @APXS@ 
      +
       PYTHON = @PYTHON@
       
       ECHO_C = @ECHO_C@
      
      
      
      
      Index: ./build/gen_make.py
      ===================================================================
      --- ./build/gen_make.py
      +++ ./build/gen_make.py	2002-08-31 01:41:50.000000000 +0200
      @@ -155,7 +155,7 @@
                 dirname, fname = os.path.split(file)
                 base, ext = os.path.splitext(fname)
                 name = string.replace(base, 'mod_', '')
      -          self.ofile.write('\tcd %s ; $(INSTALL_MOD_SHARED) -n %s %s\n'
      +          self.ofile.write('\tcd %s ; $(MKDIR) $(DESTDIR)`$(APXS) -q LIBEXECDIR` ; $(INSTALL_MOD_SHARED) -S LIBEXECDIR=$(DESTDIR)`$(APXS) -q LIBEXECDIR` -n %s %s\n'
                                  % (dirname, name, fname))
                 if ext == '.la':
                   la_tweaked[file + '-a'] = None
      

      Original issue reported by olh

      Attachments

        Activity

          People

            brane Branko Čibej
            subversion-importer Subversion Importer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: