Suggested by djb in personal email, and on the mailing list. redo-targets lists all the targets in the database; redo-sources lists all the existing sources (ie. files that are referred to but which aren't targets). redo-ifcreate filenames aren't included in the redo-sources list.
16 lines
319 B
Python
Executable file
16 lines
319 B
Python
Executable file
#!/usr/bin/python
|
|
import sys, os
|
|
|
|
import vars_init
|
|
vars_init.init([])
|
|
|
|
import state
|
|
from log import err
|
|
|
|
if len(sys.argv[1:]) != 0:
|
|
err('%s: no arguments expected.\n' % sys.argv[0])
|
|
sys.exit(1)
|
|
|
|
for f in state.files():
|
|
if f.is_generated and f.read_stamp() != state.STAMP_MISSING:
|
|
print f.nicename()
|