summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2005-02-16 20:39:39 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2005-02-16 20:39:39 +0000
commit0fac444eb98c1e4bd2856ad3d6c45b2d8436f189 (patch)
treee81034f189d886ea1b709ee38046ade5ad3089a0 /sbin
parent6532b42bfbf2403743f1e92af82ac711093e639c (diff)
Prevent gzip from storing mtime and filename in the header so we
get identical binaries.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/disklabel/Makefile4
-rw-r--r--sbin/fdisk/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/sbin/disklabel/Makefile b/sbin/disklabel/Makefile
index 0ea28555772..ead4e02e63f 100644
--- a/sbin/disklabel/Makefile
+++ b/sbin/disklabel/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.36 2005/01/13 19:32:01 deraadt Exp $
+# $OpenBSD: Makefile,v 1.37 2005/02/16 20:39:37 millert Exp $
PROG= disklabel
SRCS= disklabel.c dkcksum.c editor.c manual.c
@@ -19,7 +19,7 @@ manual.c:
.else
manual.c: disklabel.cat8
(echo 'const char manpage[] = {'; \
- gzip -9c disklabel.cat8 | hexdump -ve '"0x" 1/1 "%02x,"'; \
+ cat disklabel.cat8 | gzip -9c | hexdump -ve '"0x" 1/1 "%02x,"'; \
echo '};'; echo 'const int manpage_sz = sizeof(manpage);') > manual.c
.endif
diff --git a/sbin/fdisk/Makefile b/sbin/fdisk/Makefile
index 5e19e329ff5..bd711ed7fd9 100644
--- a/sbin/fdisk/Makefile
+++ b/sbin/fdisk/Makefile
@@ -1,5 +1,5 @@
#
-# $OpenBSD: Makefile,v 1.29 2005/01/13 19:32:01 deraadt Exp $
+# $OpenBSD: Makefile,v 1.30 2005/02/16 20:39:38 millert Exp $
#
# Copyright (c) 1997 Tobias Weingartner
# All rights reserved.
@@ -44,7 +44,7 @@ manual.c:
.else
manual.c: fdisk.cat8
(echo 'const char manpage[] = {'; \
- gzip -9c fdisk.cat8 | hexdump -ve '"0x" 1/1 "%02x,"'; \
+ cat fdisk.cat8 | gzip -9c | hexdump -ve '"0x" 1/1 "%02x,"'; \
echo '};'; echo 'const int manpage_sz = sizeof(manpage);') > manual.c
.endif