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

Submitter:  Mohammad Akhlaghi <makhlaghi>
Submitted:  Sat 04 Jun 2016 11:32:11 AM UTC
   
 
Category:  All Gnuastro Severity:  4 - Important
Item Group:  Documentation Status:  Fixed
Privacy:  Public Assigned to:  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>
Group administrator
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>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by makhlaghi (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-06-04 makhlaghi StatusIn Progress Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code