Good evening, Ralf!

I don't have the example at home, but shall try to recreate it.

If i have a Makefile.am like this:

SUFFIXES=.pc

.pc.c:
cp $< $@

noinst_LTLIBRARIES=libfoo.la
libfoo_la_SOURCES=foo.pc

Then the rule for tags is generated, and on make tags the TAGS file is
created with foo.pc mentioned.

Ot the other hand, when the rule is changed to

.pc.lo:
cp ...
$(LIBTOOL) --mode=compile  ...

and other lines are exactly the same, then there is no tags rule and
"Nothing to be done" message on make tags. Because the rule has some
sort of placeholder.

By re-adding .pc.c rule you mean to have this in addition to .pc.lo? I
shall check tomorrow...



Reply via email to