> From: Edward Welbourne <edward.welbou...@qt.io> > CC: "bug-make@gnu.org" <bug-make@gnu.org>, "psm...@gnu.org" <psm...@gnu.org> > Date: Thu, 24 Jan 2019 10:16:01 +0000 > > A suggestion for a kludge-around for this: part of your make-file says > how to regenerate the header from the data file, using an emacs binary. > Condition that part of your make-file on existence of the emacs binary. > > ifneq ($(wildcard $(BINARY)),) > generated.h: source.txt # but don't overtly depend on $(BINARY) ! > $(BINARY) ... command ... > endif > > (Overt dependence on $(BINARY) would make your graph cyclic.) > Not pretty, but hopefully it can be made to work,
Thanks, I will try that. (I thought about something like that, but hoped a more elegant solution would be possible.) _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make