On 05.01.2011 18:28, s...@sjssoftware.com wrote: >> I used .phony in documentation/Makefile to force generation >> of the doc files manually independent of (not defined) >> dependencies.
> Albrecht, is this what you're looking for? > > http://www.gnu.org/software/automake/manual/make/Phony-Targets.html No, but thanks, I knew the gnu make docs... > I'm pretty sure this feature is specific to GNU, though I believe > some other make's have something called ".force" which is > the same thing IIRC. (Is there a "standard" make? I think not). Well, maybe not, but I think we try to use only features that are supported by most (if not all) make tools. > In any case, using it should be pretty harmless. It will work > as intended if the feature is supported; if not, it will do the > right thing unless the user has a file called ".phony" lying > around. Hmm, sounds good. However it's not the file ".phony", but the real target (in this case "html" and "pdf"). And "html" is also the directory that is created by doxygen. :-( This works only with .phony and if .phony does what it's supposed to. It's different with the current "pdf" target. I deliberately used another target "refman.pdf" that will not really be created in the current directory (it's in latex/), and this ought to work unless someone creates it in the current directory. Okay, I'll leave the html target as it is, but I also added refman.pdf to the 'clean' target, just to be sure that 'make clean pdf' works as expected. Unless I read other comments, I'll also leave .phony in the Makefile. Albrecht _______________________________________________ fltk-dev mailing list fltk-dev@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-dev