I am getting this message:

make[2]: *** No rule to make target `dep-gnu-pw-mgr.1', needed by 
`gnu-pw-mgr.1'.  Stop.
make[2]: Leaving directory `/u/gnu/proj/gnu-pw-mgr-bld/doc'
make[1]: *** [all-recursive] Error 1

Seems like a real neophyte problem, but this neophyte has a problem deciphering 
it.
The original Makefile.am and derived Makefile contain:

-include dep-gnu-pw-mgr.1
gnu-pw-mgr.1 : dep-gnu-pw-mgr.1
dep-gnu-pw-mgr.1 :
        $(call gen_man,gnu-pw-mgr,opts.def)

(And, yes, that last line starts with a tab character, in case it gets changed.)

Obviously hard wired to GNU Make.  In any case, it sure looks to me like
there is a target rule for dep-gnu-pw-mgr.1, so what am I missing?
I've added the original Makefile.am, in case that is helpful and
if it makes it through the mail filters.

Thanks in advance!
#  This file is part of gnu-pw-mgr.
#
#  Copyright (C) 2013-2014 Bruce Korb - all rights reserved
#
#  gnu-pw-mgr is free software: you can redistribute it and/or modify it
#  under the terms of the GNU General Public License as published by the
#  Free Software Foundation, either version 3 of the License, or
#  (at your option) any later version.
#
#  gnu-pw-mgr is distributed in the hope that it will be useful, but
#  WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#  See the GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License along
#  with this program.  If not, see <http://www.gnu.org/licenses/>.

DEP_FILES       =
MAN_PAGES       =
TEXI_DOC        =
GEN_SOURCES     = $(MAN_PAGES) $(TEXI_DOC)
texi_sources    = fdl.texi intro.texi warnings.texi
dist_man1_MANS  = $(MAN_PAGES)
info_TEXINFOS   = gnu-pw-mgr.texi
EXTRA_DIST      = $(info_TEXINFOS) $(texi_sources) $(GEN_SOURCES)
TEXI2DVI_FLAGS  = --texinfo='@pagesizes 9.5in,7.0in'

passenv     = MAKE=$(MAKE) srcdir="$(srcdir)" SHELL="$(POSIX_SHELL)" \
        top_builddir="$(top_builddir)" top_srcdir="$(top_srcdir)"

run_mkman   = $(passenv) $(POSIX_SHELL) $${dashx} mk-gnudoc.sh

check_exe   = test -x $(top_builddir)/src/$(1) || \
        { cd $(top_builddir)/src ; $(MAKE) $(1) ; }

gen_invoke  = PATH="$(top_builddir)/src:$${PATH}" \
    autogen -DLEVEL=chapter -MF$@ -b $(1) -T agtexi-cmd.tpl \
        $(top_srcdir)/src/$(2) ; \
    test -f $@

gen_man     = autogen -MFdep-$@ -b $(1) -T agman-cmd.tpl \
        $(top_srcdir)/src/$(2) ; \
    test -f $@

all : $(DEP_FILES)

DEP_FILES += dep-gnu-pw-mgr.1
MAN_PAGES += gnu-pw-mgr.1
-include dep-gnu-pw-mgr.1
dep-gnu-pw-mgr.1 :
        $(call gen_man,gnu-pw-mgr,opts.def)
gnu-pw-mgr.1 : dep-gnu-pw-mgr.1

MAN_PAGES += sort-pw-cfg.1
DEP_FILES += dep-sort-pw-cfg.1
-include dep-sort-pw-cfg.1
dep-sort-pw-cfg.1 :
        $(call gen_man,sort-pw-cfg,sort-opts.def)
sort-pw-cfg.1 : dep-sort-pw-cfg.1

DEP_FILES += dep-invoke-gnu-pw-mgr.texi
TEXI_DOC  += invoke-gnu-pw-mgr.texi
-include dep-invoke-gnu-pw-mgr.texi
dep-invoke-gnu-pw-mgr.texi :
        $(call check_exe,gnu-pw-mgr )
        $(call gen_invoke,gnu-pw-mgr,opts.def )
invoke-gnu-pw-mgr.texi : dep-invoke-gnu-pw-mgr.texi

DEP_FILES += dep-invoke-sort-pw-cfg.texi
TEXI_DOC  += invoke-sort-pw-cfg.texi
-include dep-invoke-sort-pw-cfg.texi
dep-invoke-sort-pw-cfg.texi :
        $(call check_exe,sort-pw-cfg )
        $(call gen_invoke,sort-pw-cfg,sort-opts.def )
invoke-sort-pw-cfg.texi : dep-invoke-sort-pw-cfg.texi

clean-local :
        rm -f dep-* invoke-*.texi invoke-*.menu *.1

gnudocs : $(TEXI_DOC) $(srcdir)/gendocs_template
        $(run_mkman) $@

.NOTPARALLEL:

# doc/Makefile.am ends here
_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to