tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: make issue with .SUFFIXES?



In article <859539410.193925.1449994186457.JavaMail.ngmail%webmail19.arcor-online.net@localhost>,
Carsten Kunze  <carsten.kunze%arcor.de@localhost> wrote:
>Hello,
>
>current groff (git) doesn't compile on NetBSD.  The groff build
>maintainer had analyzed this and build a minimum test case which shows
>the problem:
>
>When there is a file "test.1.man" and a makefile:
>
>.SUFFIXES: 
>.SUFFIXES: .roff .in .ps .mom .pdf .me .ms .ps .html .txt .texi .dvi
>.pdf .xhtml .man .c .cpp .log .o .obj .sed .sin .test .test$(EXEEXT)
>.trs .ypp
>
>.man:
>        @echo Making $@ from $<
>        rm -f $@
>        @LC_ALL=C \
>         sed -e "s|foo|bar|g" \
>         $< >$@
>
>"make test.1" results in "make: don't know how to make test.1. Stop".
>
>When ".man" is put to the start of the list it works.  It also works
>when the first .SUFFIXES line is removed.  Is this a bug (that it
>doesn't work with the makefile above)?

Somehow deleting all suffixes breaks this. Looks like a new bug. Please
file a PR.

christos



Home | Main Index | Thread Index | Old Index