← Back to team overview

hugin-devs team mailing list archive

[Bug 1672085] Re: make clean cleans too much in doc and removes all *.gp and *.png files

 

Please check out revision ba3e20d0947b:
    http://hg.code.sf.net/p/enblend/code/rev/ba3e20d0947b
whether it solves the problem and the bug
description is accurate enough.

THX for supplying a patch!

/cls


** Changed in: enblend
       Status: New => In Progress

** Changed in: enblend
     Assignee: (unassigned) => Christoph Spiel (cspiel)

** Changed in: enblend
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Enblend.
https://bugs.launchpad.net/bugs/1672085

Title:
  make clean cleans too much in doc and removes all *.gp and *.png files

Status in Enblend:
  In Progress

Bug description:
  For source code enblend-enfuse, doing a make clean from the top level
  directory (and also from the doc directory its-self) causes the
  deletion of all *.gp files

  rm -f *.eps *.png *.pstex *.gp

  However these .gp files are not dynamically created and their presence
  (coming from the source archive) is needed to build the documentation.

  ./docstrings key-value \
              UPDATED '2016-03-29\datebyfs' \
              VERSION '4.2' \
              DOCDIR '/usr/local/share/doc/enblend-enfuse' > enblend-version.tex
  make[3]: *** No rule to make target 'colors.gp', needed by 'log-transform.gp'.  Stop.
  make[3]: Leaving directory '/usr/src/build/enblend-enfuse-4.2/doc'
  Makefile:580: recipe for target 'all-recursive' failed

  Not tested, but I suspect that the *.png should not be deleted either,
  since these are also only supplied from the unpacked source archive.

  --- Makefile.am.ORIG   2017-03-11 21:38:33.947959712 +0100
  +++ Makefile.am 2017-03-11 21:38:33.947959712 +0100
  @@ -111,7 +111,7 @@
   
   .PHONY: clean-local
   clean-local:
  -       - rm -f *.eps *.png *.pstex
  +       - rm -f *.eps *.pstex
          - rm -f *.{g,o,p,a}nd *.{g,o,p,a}dx
          - rm -f *.idx *.ilg *.ind *.lo{a,f,t,x} *.toc
          - rm -f *.aux *.log *.dvi *.ps *.pdf

To manage notifications about this bug go to:
https://bugs.launchpad.net/enblend/+bug/1672085/+subscriptions


References