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

[no subject]



Jim,

The issue is happening because you have a directory called perl_mods and
the target perl_mods has no dependancies.  This causes make to think
that the target is up to date.

You have a couple of options from here:
1) You can educate make about the real work of that target so that
    make can verify the dependancies.
2) You can tell make that it is a phony target and cause it to rebuild
    every time.
3) Remove perl_mods from the overall build list so that make will not
    automatically build it, then you call it explicity when you want it
    to happen.

I'm sure there are other options, but those would seem to be the
most likely.

#1 is the hardest, but it would be done by replacing perl_mods target
with a rule that uses an macro to convert the module list into a list of
real targets and changing the rules to use the correct automatic
variable.  If you want to do this, I can help but I would need to 
know more about what Makefile.PL and make install does for
those packages.

#2 and #3 are done by adding a ".phony: perl_mods" line and then
either having or not having perl_mods as a dependancy of one of the
other targets.

Jim Patterson


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00156" href="msg00156.html">[ale] Makefile madness</a></strong>
<ul><li><em>From:</em> jimpop at yahoo.com (Jim Popovitch)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00226.html">[ale] Personal Finance Software</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00228.html">[ale] VIM buffer</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00156.html">[ale] Makefile madness</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00159.html">[ale] Spamassassin help</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00227"><strong>Date</strong></a></li>
<li><a href="threads.html#00227"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>