Blob Blame History Raw
--- yggdrasil-0.2.2.orig/Makefile	2023-06-21 11:34:14.000000000 -0400
+++ yggdrasil-0.2.2/Makefile	2023-08-30 12:21:48.611686392 -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.
@@ -99,7 +90,7 @@
 	go run $(BUILDFLAGS) -ldflags "$(LDFLAGS)" ./cmd/$(patsubst %.1,%,$@) --generate-man-page > $@
 
 %.1.gz: %.1
-	gzip -k $^
+	gzip -c $^ > $@.tmp && mv $@.tmp $@
 
 %-USAGE.md: $(GOSRC)
 	go run $(BUILDFLAGS) -ldflags "$(LDFLAGS)" ./cmd/$(patsubst %-USAGE.md,%,$@) --generate-markdown > $@