[Symphony-tickets] [SYMPHONY] #89: missing $(DESTDIR) in SYMPHONY/Makefile.am and SYMPHONY/Makefile.in

SYMPHONY coin-trac at coin-or.org
Wed Feb 11 00:03:49 EST 2009


#89: missing $(DESTDIR) in SYMPHONY/Makefile.am and SYMPHONY/Makefile.in
-----------------------+----------------------------------------------------
 Reporter:  awasielak  |       Owner:  menal      
     Type:  defect     |      Status:  new        
 Priority:  normal     |   Milestone:  5.2        
Component:  Build      |     Version:  trunk (SVN)
 Keywords:             |  
-----------------------+----------------------------------------------------
 Here is a patch to fix this:

 {{{
 Index: SYMPHONY/Makefile.in
 ===================================================================
 --- SYMPHONY/Makefile.in        (revision 1583)
 +++ SYMPHONY/Makefile.in        (working copy)
 @@ -919,10 +919,10 @@
   .PHONY: test unitTest ptest punitTest

  install-exec-local: install-doc
 -       $(install_sh_DATA) $(addlibsfile) $(addlibsdir)/$(addlibsfile)
 +       $(install_sh_DATA) $(addlibsfile)
 $(DESTDIR)$(addlibsdir)/$(addlibsfile)

  uninstall-local: uninstall-doc
 -       rm -f $(addlibsdir)/$(addlibsfile)
 +       rm -f $(DESTDIR)$(addlibsdir)/$(addlibsfile)

  install-doc: $(DocFiles)
         test -z "$(DocInstallDir)" || $(mkdir_p)
 "$(DESTDIR)$(DocInstallDir)"
 Index: SYMPHONY/Makefile.am
 ===================================================================
 --- SYMPHONY/Makefile.am        (revision 1583)
 +++ SYMPHONY/Makefile.am        (working copy)
 @@ -78,10 +78,10 @@
  addlibsdir = $(prefix)/share/doc/coin/$(PACKAGE_NAME)

  install-exec-local: install-doc
 -       $(install_sh_DATA) $(addlibsfile) $(addlibsdir)/$(addlibsfile)
 +       $(install_sh_DATA) $(addlibsfile)
 $(DESTDIR)$(addlibsdir)/$(addlibsfile)

  uninstall-local: uninstall-doc
 -       rm -f $(addlibsdir)/$(addlibsfile)
 +       rm -f $(DESTDIR)$(addlibsdir)/$(addlibsfile)

  ########################################################################
  #                         Maintainer Stuff                             #
 }}}

-- 
Ticket URL: <https://projects.coin-or.org/SYMPHONY/ticket/89>
SYMPHONY <http://projects.coin-or.org/SYMPHONY>
The SYMPHONY framework for parallel branch-and-cut algorithms.



More information about the Symphony-tickets mailing list