apenwarr-redo/redo-targets.py

16 lines
319 B
Python
Raw Normal View History

#!/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()