From 3f9a3338348a582dd55dd39833574a9d7bbcb349 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Sat, 23 Sep 1995 04:28:26 +0000 Subject: [PATCH] Exclude the MAC and DOS tar/zip files when creating the Mac tar file. Adjust the windows NT exclusion file so that it works correctly; zip is a little bit touchy about file specifications. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6839 dc483132-0cff-0310-8789-dd5450dbe970 --- src/ChangeLog | 5 +++++ src/Makefile.in | 20 +++++++++++--------- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 4eb902abb..d6a0401bb 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,10 @@ Fri Sep 22 19:39:30 1995 Theodore Y. Ts'o + * Makefile.in: Exclude the MAC and DOS tar/zip files when creating + the Mac tar file. Adjust the windows NT exclusion file so + that it works correctly; zip is a little bit touchy about + file specifications. + * Makefile.in (awk-windows-mac): Build the error table header files into include, not include/krb5; and construct krb5.h from krb5.hin and the error table header files. diff --git a/src/Makefile.in b/src/Makefile.in index 3c6ce0c7a..f955a4e4c 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -214,7 +214,12 @@ WINEXCLUDE= LIB/KRB5.SAB \ WINDOWS/CNS/*.ICO WINDOWS/WINTEL/*.ICO WINDOWS/GSS/*.ICO \ *.O *.A *.ZIP *.TAR -MACEXCLUDE= windows +NTEXCLUDE= ./lib/krb5.sab \ + ./include/krb5/autoconf.h \ + ./lib/crypto/md4/t_mddriv ./lib/crypto/md5/t_mddriv \ + ./util/profile/test_par ./util/profile/test_pro \ + windows/cns/*.ico windows/wintel/*.ico windows/gss/*.ico \ + ./*.zip ./*.tar CLEANUP= util/profile/profile.h util/profile/prof_err.[ch] \ lib/krb5/error_tables/asn1_err.c lib/krb5/error_tables/kdb5_err.c \ @@ -233,9 +238,9 @@ kerbsrc.zip: awk-windows-mac mv Makefile Makefile.bak cp Makefile.in Makefile rm -f kerbsrc.zip - $(ZIP) -Dlk kerbsrc.zip $(FILES) $(WINFILES) -x $(EXCLUDE) $(WINEXCLUDE) + $(ZIP) -Dlk kerbsrc.zip $(FILES) $(WINFILES) -x $(WINEXCLUDE) $(ZIP) -Dk kerbsrc.zip $(WINBINARYFILES) - cp Makefile.bak Makefile + mv Makefile.bak Makefile rm -f $(CLEANUP) kerbsrc-nt.zip: awk-windows-mac @@ -243,16 +248,13 @@ kerbsrc-nt.zip: awk-windows-mac mv Makefile Makefile.bak cp Makefile.in Makefile rm -f kerbsrc-nt.zip - $(ZIP) -Dl kerbsrc-nt.zip $(FILES) $(WINFILES) -x $(EXCLUDE) $(WINEXCLUDE) + $(ZIP) -Dl kerbsrc-nt.zip $(FILES) $(WINFILES) -x $(NTEXCLUDE) $(ZIP) -D kerbsrc-nt.zip $(WINBINARYFILES) - cp Makefile.bak Makefile + mv Makefile.bak Makefile rm -f $(CLEANUP) kerbsrc.mac: awk-windows-mac - rm -f excludefiles - /bin/ls $(MACEXCLUDE) >excludefiles - tar cvfX kerbsrc.tar excludefiles `find $(FILES) $(MACFILES) -prune -type f -print` - rm -f excludefiles + tar cvf kerbsrc.tar `find $(FILES) $(MACFILES) -prune -type f -print | grep -v kerbsrc` rm -f $(CLEANUP) # -- 2.26.2