bugGNU Astronomy Utilities - Bugs: bug #48124, make clean will remove the man...

 
 

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

bug #48124: make clean will remove the man pages when srcdir is builddir

Submitted by:  Mohammad Akhlaghi <makhlaghi>
Submitted on:  Sat 04 Jun 2016 11:32:11 AM UTC  
 
Category: All GnuastroSeverity: 4 - Important
Item Group: DocumentationStatus: Fixed
Privacy: PublicAssigned to: Mohammad Akhlaghi <makhlaghi>
Open/Closed: Closed

Sat 04 Jun 2016 12:29:47 PM UTC, comment #1:

The issue is solved and pushed to master (commit 7f5699c: man pages built in doc/man).

Mohammad Akhlaghi <makhlaghi>
Project AdministratorIn charge of this item.
Sat 04 Jun 2016 11:32:11 AM UTC, original submission:

If Gnuastro is built within the source directory (the most common installation method), then if the user runs `make clean' (not uncommon), the man-page of all the utilities is going to be removed. If they don't have help2man (which is only listed as a dependency of bootstrapping), then the man pages are not going to be built and thus installed on the system.

The reason the man pages are removed with `make clean' is that we wanted to be able to run "make -jN" (N>1) on N threads. To do that successfully it was necessary to explicitly tell Make that the man pages depend on the executable so the manpage would not be made before the executable. However as explained in the Errors with distclean section of the Automake manual, this would cause problems with `make distclean' (used in `make distcheck').

I am now working on a solution for this problem by building all the utility man pages in the `doc/' directory which is built after all the other subdirectories thus allowing us to be sure that the executables are already built.

Mohammad Akhlaghi <makhlaghi>
Project AdministratorIn charge of this item.

 

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 makhlaghi (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
    Sat 04 Jun 2016 12:29:47 PM UTCmakhlaghiStatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1