gnu: perl-unicode-linebreak: Update to 2016.003.
[jackhill/guix/guix.git] / build-aux / compile-all.scm
index 46b3817..6ce4040 100644 (file)
                         #:output-file go
                         #:opts `(#:warnings ,warnings)))))))
 
+;; Install a SIGINT handler to give unwind handlers in 'compile-file' an
+;; opportunity to run upon SIGINT and to remove temporary output files.
+(sigaction SIGINT
+  (lambda args
+    (exit 1)))
+
 (match (command-line)
   ((_ . files)
    (let ((files (filter file-needs-compilation? files)))