(subjects.mk): Didn't work when info sources were deleted.

This commit is contained in:
Markus Armbruster 2006-01-05 14:13:56 +00:00
parent 2aea9269b9
commit 5064c5425f

View file

@ -219,6 +219,10 @@ $(libs) $(empth_lib): | lib
subjects.mk: $(tsrc) info/findsubj.pl sources.mk subjects.mk: $(tsrc) info/findsubj.pl sources.mk
perl $(srcdir)/info/findsubj.pl perl $(srcdir)/info/findsubj.pl
# If sources.mk is out of date, $(tsrc) is. If it contains files that
# went away, make can't remake subjects.mk. Tell it to ignore such
# missing files:
$(tsrc):
$(tsubj): info/mksubj.pl $(tsubj): info/mksubj.pl
perl $(srcdir)/info/mksubj.pl $@ $(filter %.t, $^) perl $(srcdir)/info/mksubj.pl $@ $(filter %.t, $^)