bugGNUstep - Bugs: bug #41026, "make distclean" doesn't...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #41026: "make distclean" doesn't clean generated HTML files

Submitted by:  Markus Hitter <hitterm>
Submitted on:  Sun 29 Dec 2013 03:25:00 PM UTC  
 
Category: MakefilesSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: In Test

Fri 10 Jan 2014 12:52:03 PM UTC, comment #2:

Ping … any feedback on this?
Did the fix work for all cases?

Richard Frith-Macdonald <CaS>
Project Member
Tue 07 Jan 2014 07:27:30 AM UTC, comment #1:

I'm guessing this is only html files generated by texi2html, not all generated html?

I had a quick look and found that in 2009 the behavior of texi2html changed to generate files in a subdirectory and gnustep-make was altered to look for the generated files there … but it seems that now the behavior has reverted to the original one (generating the html files in the same directory as the source) so gnustep-make is no longer finding them.

I changed the make file to look in the source directory again, but also to check for the presence of a file in the subdirectory when generating the html, and move the html from the subdirectory to the main directory at that point.

This won't clean existing files in subdirectories, but should fix the problem for all new html generated by texi2html.
Please try it and let me know if this is what you meant.

Richard Frith-Macdonald <CaS>
Project Member
Sun 29 Dec 2013 03:25:00 PM UTC, original submission:

Steps to reproduce:

. .../GNUstep.sh
cd path/to/core/gui # same for core/base
git status
./configure
cd Documentation
make
make distclean
git status

While both "git status" should show the same in Documentation/ (nothing), the second one shows 19 files left:

# manual/AppKit.html
# manual/AppKit_1.html
# manual/AppKit_10.html
[...]

This breaks multiple test runs in Debian packaging, manual deletion is neccessary.

Note: "git status" shows differences between repo and actual file system contents, I guess just like "svn status".

Markus Hitter <hitterm>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by CaS (Posted a comment)
  • -unavailable- added by hitterm (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 07 Jan 2014 07:27:30 AM UTCCaSStatusNone=>Fixed
      Open/ClosedOpen=>In Test

    Back to the top


    Powered by Savane 3.1-cleanup1