X-Git-Url: https://git.phdru.name/?p=phdru.name%2Fphdru.name.git;a=blobdiff_plain;f=make-changed.py;h=24643948d8a66d8d2b58131acb1741fbce51936f;hp=31443aac84b7035ae93e743f1bc45914db9a12ff;hb=HEAD;hpb=3d7d61fcd870e3c09f5654d09fb7e27ceefcfe45 diff --git a/make-changed.py b/make-changed.py index 31443aa..2464394 100755 --- a/make-changed.py +++ b/make-changed.py @@ -2,8 +2,8 @@ import sys, os -main_tmpl_mtime = os.path.getmtime("phd_pp_ru.tmpl") -main_prog_mtime = os.path.getmtime("phd_pp.py") +main_prog_mtime = os.path.getmtime("phd.py") +main_tmpl_mtime = os.path.getmtime("phd_site.tmpl") for line in sys.stdin: line = line.strip() @@ -16,7 +16,7 @@ for line in sys.stdin: make = True else: make = (src_mtime > dest_mtime) or \ - (main_tmpl_mtime > dest_mtime) or (main_prog_mtime > dest_mtime) + (main_prog_mtime > dest_mtime) or (main_tmpl_mtime > dest_mtime) if make: print line