slony1-bugs at lists.slony.info slony1-bugs at lists.slony.info
Thu Apr 16 01:35:52 PDT 2009
http://www.slony.info/bugzilla/show_bug.cgi?id=89

           Summary: man page installation completely broken in multiple ways
           Product: Slony-I
           Version: devel
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: medium
         Component: docs
        AssignedTo: slony1-bugs at lists.slony.info
        ReportedBy: peter_e at gmx.net
                CC: slony1-bugs at lists.slony.info
   Estimated Hours: 0.0


The slonik man pages installation doesn't work.

The first reason is that the makefile rule looks like this:

        for file in man7/*.7; do \
           echo $$file \
           $(INSTALL_DATA) $$file $(DESTDIR)$(mandir)/man7/$$file || exit;\
        done

which just echoes the install command, but doesn't execute it.  There is a
semicolon missing on the echo line.

The second problem is that the man page file names contain spaces, so you need
to add some quoting, like

$(INSTALL_DATA) "$$file" $(DESTDIR)$(mandir)/man7/"$$file"

The third problem is that install-sh doesn't support installing files with
spaces in their names at all.  So either you need to get a new or different
install program or generate man pages without spaces in their names.


-- 
Configure bugmail: http://www.slony.info/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Slony1-bugs mailing list