Blob Blame History Raw
diff -urN rhc-0.2.4.orig/Makefile rhc-0.2.4/Makefile
--- rhc-0.2.4.orig/Makefile	2023-08-01 05:37:07.000000000 -0400
+++ rhc-0.2.4/Makefile	2023-08-30 12:25:02.357010969 -0400
@@ -1,12 +1,3 @@
-SHELL := bash
-.ONESHELL:
-.SHELLFLAGS := -eu -o pipefail -c
-.DELETE_ON_ERROR:
-MAKEFLAGS += --warn-undefined-variables
-MAKEFLAGS += --no-builtin-rules
-.POSIX:
-.SUFFIXES:
-
 # Project variables
 
 # Used as a prefix to binary names. Cannot contain spaces.
@@ -90,7 +81,7 @@
 	go run $(BUILDFLAGS) -ldflags "$(LDFLAGS)" . --generate-man-page > $@
 
 %.1.gz: %.1
-	gzip -k -f $^
+	gzip -c -f $^ > $@.tmp && mv $@.tmp $@
 
 USAGE.md: $(GOSRC)
 	go run $(BUILDFLAGS) -ldflags "$(LDFLAGS)" . --generate-markdown > $@