# to the name gpt-bundle gives in its 'packaging_list'.
#
-$srcdirname = "gsi_openssh";
-$srcpkgname = "gsi_openssh-3.1p1";
-
-#
-# uncomment when we're more mature
-#
-#for my $subdir ('packaging_tools', 'package_management', 'archive_compress') {
-# chdir "$subdir" or die "Unable to cd to $subdir: $?";
-# if(-e "config.cache")
-# {
-# #config.cache is tested for because it is generated when ./configure is executed
-# #if config.cache is present, then a make distclean must be performed in order
-# #to remove the cache. if a make distclean is run and config.cache is not
-# #present, then this script will recieve a zero from the system and error.
-#
-# system("make distclean");
-# }
-#
-# chdir ".." or die "Unable to cd to packaging: $?";
-#}
+$srcdirname = "gsi_openssh-3.1-src";
+$srcpkgname = "gsi_openssh-3.1-src";
#
# uncomment when we've got a better place to get the current version from
printf("pruning source directory of extraneous files...\n");
system("rm -rf `find . -name CVS -print`")==0 or die "Unable to remove cvs directories: $?";
-system("rm -f ./make_gpt_dist")==0 or die "Unable to remove gpt script: $?";
-system("rm -rf ./gpt")==0 or die "Unable to remove gpt directory: $?";
#
-# run the standard development tools to get the necessary derived files.
+# Originally, we were going to include the MD5 sums in the Announcement
+# file. Among other virtues, this complicated the process of distributing
+# the Announcement to users since it would get included in the package
+# itself. We decided to keep the announcement in the package, and got
+# around the Catch-22 by not including MD5 sums in that file.
+#
+# So, keep this line commented!:
+# system("rm -f Announcement.txt")==0 or die "Unable to remove Announcement.txt: $?";
#
-printf("running autoheader...\n");
-system("autoheader")==0 or die "Could not run autoheader: $?";
+#
+# run the standard development tools to get the necessary derived files.
+#
-printf("running autoconf...\n");
-system("autoconf")==0 or die "Could not run autoheader: $?";
+printf("running make distprep...\n");
+system("make -f Makefile.in distprep")==0 or die "Could not run make distprep: $?";
chdir("../");