NetBSD-Users archive

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

make-dependency with multiple targets



Hi,

I'm just doing my first steps with make(1). The following Makefile
should create some postfix maps upon invocation:

        MAPS = client sender

        ${MAPS:S/$/.db/g}: ${MAPS}
                postmap ${.ALLSRC}


This does work pretty well but if nothing has to be done, make confuses
me with an inconsistent message:

        `client.db' is up to date.


While I would expect something like:

        `client.db sender.db' is up to date.


or even:

        `client.db' is up to date.
        `sender.db' is up to date.


I assume I missed something.


Thanks,

Petar


Home | Main Index | Thread Index | Old Index