slony1-bugs at lists.slony.info slony1-bugs at lists.slony.info
Wed Apr 15 06:20:10 PDT 2009
http://www.slony.info/bugzilla/show_bug.cgi?id=86

           Summary: doc installation fails when man pages are not built
           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


Man pages are only built if you manually set the make variable D2MDIR.  The
install target in the adminguide directory, however, tries to install them
anyway:

        for file in man1/*.1; do \
           $(INSTALL_DATA) $$file $(DESTDIR)$(mandir)/man1/$$file || exit;\
        done

etc., which fails with

install:  man1/*.1 does not exist

In 1.2, it used to work because the code looked like this:

        for file in $(wildcard man1/*) ; do \
           $(INSTALL_DATA) $$file $(DESTDIR)$(mandir)/man1 || exit;\
        done

and so nothing was installed.

I see in the CVS logs that there was a point to making this change.  So then
perhaps you could put an ifdef D2MDIR or something like that around the man
page installation parts.


-- 
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