summaryrefslogtreecommitdiff
path: root/usr.bin/sudo/Makefile.in
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-01-14 00:11:45 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-01-14 00:11:45 +0000
commitbb6019c6df9f781e59902507fe22bd6e39c04fbc (patch)
treed77e62c5dbbe074d0f21870a031cc7dca4adb102 /usr.bin/sudo/Makefile.in
parentf4f544a61c062488ada2cf7986913f30fc3087ee (diff)
sync with sudo 1.6.4-final
Diffstat (limited to 'usr.bin/sudo/Makefile.in')
-rw-r--r--usr.bin/sudo/Makefile.in24
1 files changed, 15 insertions, 9 deletions
diff --git a/usr.bin/sudo/Makefile.in b/usr.bin/sudo/Makefile.in
index 72671759016..11a993f992e 100644
--- a/usr.bin/sudo/Makefile.in
+++ b/usr.bin/sudo/Makefile.in
@@ -34,7 +34,7 @@
#
# @configure_input@
#
-# $Sudo: Makefile.in,v 1.219 2002/01/08 15:00:17 millert Exp $
+# $Sudo: Makefile.in,v 1.222 2002/01/12 19:00:14 millert Exp $
#
#### Start of system configuration section. ####
@@ -344,19 +344,25 @@ dist:
bindist:
@mkdir tmp.`arch -l`
@mkdir tmp.`arch -l`/sudo-$(VERSION)
- ( cd tmp.`arch -l`/sudo-$(VERSION) ; \
+ ( \
+ tdir=tmp.`arch -l`/sudo-$(VERSION) ; \
for i in $(BINFILES) ; do \
- if [ -f ../../$$i ]; then \
- cp ../../$$i . ; \
+ if [ -f $$i ]; then \
+ cp $$i $$tdir ; \
elif [ -f $(srcdir)/$$i ]; then \
- cp $(srcdir)/$$i . ; \
+ cp $(srcdir)/$$i $$tdir ; \
else \
- cp ../../$(srcdir)/$$i . ; \
+ echo cannot find $$i ; \
+ exit 1 ; \
fi ; \
done ; \
- strip sudo ; \
- strip visudo ; \
- cd .. ; tar Ocf ../sudo-$(VERSION)-`arch -l`.tar sudo-$(VERSION) ; \
+ cp $(srcdir)/INSTALL.binary $$tdir/INSTALL ; \
+ sed -e 's/@_MANTYPE@/$(mantype)/g' -e 's/@_mansectsu@/$(mansectsu)/g' \
+ -e 's/@_mansectform@/$(mansectform)/g' $(srcdir)/Makefile.binary \
+ > $$tdir/Makefile ; \
)
+ strip sudo
+ strip visudo
+ ( cd tmp.`arch -l` && tar Ocf ../sudo-$(VERSION)-`arch -l`.tar sudo-$(VERSION) )
gzip --best sudo-$(VERSION)-`arch -l`.tar
rm -rf tmp.`arch -l`