Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#25 remake 3.81+dbg-0.2 doesn't install man page

closed
5
2010-04-13
2010-04-13
wjaguar
No

Man page does get created in /doc subdirectory (as "make.1"), but doesn't get installed.
Version 3.80+dbg-0.62 doesn't have this bug.

Discussion

  • Hmmm. This is a place where you might be able to use remake to track down this problem.

    When I run "remake -x install", among the output I see is this:

    ...
    /src/external-vcs/remake/doc/Makefile:392 Must remake target `install-man1'.
    test -z "/usr/local/share/man/man1" || mkdir -p -- "/usr/local/share/man/man1"
    /usr/bin/install -c -m 644 './make.1' '/usr/local/share/man/man1/remake.1'
    /src/external-vcs/remake/doc/Makefile:392 Successfully remade target file `install-man1'.
    /src/external-vcs/remake/doc/Makefile:560 Must remake target `install-man'.
    /src/external-vcs/remake/doc/Makefile:560 Successfully remade target file `install-man'.

    It looks like a more specific target to see what goes on here is:
    remake -x install-man1

    Possibly you are looking for the manual page to appear as make (1) rather than remake (1)?

     
    • labels: --> GNU make debugger
    • assigned_to: nobody --> rockyb
    • status: open --> pending
     
  • wjaguar
    wjaguar
    2010-04-13

    • status: pending --> open
     
  • wjaguar
    wjaguar
    2010-04-13

    >t looks like a more specific target to see what goes on here is:
    >remake -x install-man1

    What goes on here, is this:
    "make: *** No rule to make target `install-man1'. Stop."

    In version 3.81+dbg-0.2, "install-man1" target is present ONLY in "Makefile.DOS", and nowhere else. So it doesn't help any with my building 'remake' on Slackware.

     
  • The automake target that triggers this is in doc/Makefile.am line 38:

    man_MANS = make.1

    which will put install-man1 targets in doc/Makefile.in and doc/Makefile. Do you have these targets in those files? Also check that you are descending into doc.

    If this doesn't help you solve what things, then attach as separate files:

    1. entire remake -x log
    2. doc/Makefile.am
    3. doc/Makefile.in
    4. doc/Makefile
    5. Makefile.am
    6. Makefile

     
  • wjaguar
    wjaguar
    2010-04-13

    >The automake target that triggers this is in doc/Makefile.am line 38:
    >man_MANS = make.1

    In 'remake-3.81+dbg-0.2.tar.bz2' package, it was instead "man_make = make.1" at line 35.
    Changing it to "man_MANS = make.1" and rerunning automake did indeed fix the problem.

     
  • I'll put on the list of things to do to schedule another little release.

     
    • status: open --> closed