(install (section man) (files (patdiff.man as man1/patdiff.1)))

(rule (targets patdiff.rpm.tar)
 (deps (:first_dep ./build-rpm.sh) ../bin/main.exe ./patdiff.pkg.sexp
  ../doc/changelog)
 (action (bash "%{first_dep} patdiff")))

(alias (name DEFAULT) (deps (glob_files *.sh))
 (action (bash "%{bin:shellcheck} -x *.sh")))