diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-01-14 00:11:45 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-01-14 00:11:45 +0000 |
commit | bb6019c6df9f781e59902507fe22bd6e39c04fbc (patch) | |
tree | d77e62c5dbbe074d0f21870a031cc7dca4adb102 /usr.bin/sudo/Makefile.in | |
parent | f4f544a61c062488ada2cf7986913f30fc3087ee (diff) |
sync with sudo 1.6.4-final
Diffstat (limited to 'usr.bin/sudo/Makefile.in')
-rw-r--r-- | usr.bin/sudo/Makefile.in | 24 |
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` |