bug-automake
[Top][All Lists]
Advanced

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

bug#7922: 1.11 doesn't add sources with nonstandard suffixes when making


From: Юрий Пухальский
Subject: bug#7922: 1.11 doesn't add sources with nonstandard suffixes when making a binary
Date: Wed, 26 Jan 2011 23:22:18 +0300

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

[Prev in Thread] Current Thread [Next in Thread]