[Bcp-tickets] [Branch-Cut-Price Framework] #14: `make distclean' leaves behind files/directories and erronously removes Bcp/examples

Branch-Cut-Price Framework coin-trac at coin-or.org
Sat Feb 23 15:43:42 EST 2008


#14: `make distclean' leaves behind files/directories and erronously removes
Bcp/examples
------------------------+---------------------------------------------------
 Reporter:  awasielak   |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  minor       |   Milestone:          
Component:  component1  |     Version:          
 Keywords:              |  
------------------------+---------------------------------------------------
 Bcp version 1.1.2

 Running `make distclean' leaves behind the following files/directories:
 {{{
 Bcp/test/BAC/bac.lp
 Bcp/test/BAC/bac.mps
 Bcp/test/BAC/bac.pdf
 Bcp/test/BAC/bb.par
 Bcp/test/BAC/include
 Bcp/test/BAC/LP
 Bcp/test/BAC/Member
 Bcp/test/BAC/TM
 }}}
 It also erroneously removes {{{Bcp/examples}}} directory. If you try to
 run `./configure' again, it will fail:
 {{{
 [snip]
 config.status: error: cannot find input file: examples/BAC/Makefile.in
 configure: error: /bin/bash './configure' failed for Bcp
 }}}

 Here is a patch to fix the latter problem:
 {{{
 diff -urNad coinor-coinall-1.0.0~/Bcp/Makefile.am coinor-
 coinall-1.0.0/Bcp/Makefile.am
 --- coinor-coinall-1.0.0~/Bcp/Makefile.am       2007-02-02
 08:48:04.000000000 -0700
 +++ coinor-coinall-1.0.0/Bcp/Makefile.am        2008-02-23
 12:50:33.000000000 -0700
 @@ -86,7 +86,6 @@
         for t in $(TESTS); do \
                 (if test -r test/$$t/Makefile; then cd test/$$t; $(MAKE)
 distclean; fi); \
         done
 -       rm -rf examples

  .PHONY: test unitTest

 diff -urNad coinor-coinall-1.0.0~/Bcp/Makefile.in coinor-
 coinall-1.0.0/Bcp/Makefile.in
 --- coinor-coinall-1.0.0~/Bcp/Makefile.in       2007-12-08
 11:22:25.000000000 -0700
 +++ coinor-coinall-1.0.0/Bcp/Makefile.in        2008-02-23
 12:50:33.000000000 -0700
 @@ -843,7 +843,6 @@
         for t in $(TESTS); do \
                 (if test -r test/$$t/Makefile; then cd test/$$t; $(MAKE)
 distclean; fi); \
         done
 -       rm -rf examples

  .PHONY: test unitTest

 }}}

-- 
Ticket URL: <https://projects.coin-or.org/Bcp/ticket/14>
Branch-Cut-Price Framework <http://projects.coin-or.org/Bcp>
A parallel framework for branch-cut-price algorithms.



More information about the Bcp-tickets mailing list