From f85570833e970d2038973689f46f1b11b24d5d71 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Thu, 31 May 2001 14:54:11 +0200
Subject: [PATCH] Added the Meta Makefile, the man-pages and autodoc to the
 exported dist.

Rev: bin/export.pike:1.36
---
 bin/export.pike | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/bin/export.pike b/bin/export.pike
index 153bb7c92d..ab18aed547 100755
--- a/bin/export.pike
+++ b/bin/export.pike
@@ -1,6 +1,6 @@
 #!/usr/local/bin/pike
 
-/* $Id: export.pike,v 1.35 2001/01/16 11:08:34 hubbe Exp $ */
+/* $Id: export.pike,v 1.36 2001/05/31 12:54:11 grubba Exp $ */
 
 import Stdio;
 
@@ -22,6 +22,8 @@ string *get_files(string path)
   string *files,tmp,*ret;
   files=get_dir(path);
 
+  // if (!files) return ({});
+
   if(!getenv("PIKE_EXPORT_CVS_DIRS"))
     files-=({"CVS","RCS",".cvsignore"});
 
@@ -199,10 +201,15 @@ int main(int argc, string *argv)
   symlink(".",vpath);
 //    system("ln -s pike "+vpath);
 
-  files=`+(({ vpath+"/README", vpath+"/ANNOUNCE" }),
+  files=`+(({ vpath+"/README", vpath+"/ANNOUNCE", vpath+"/Makefile" }),
 	   get_files(vpath+"/src"),
 	   get_files(vpath+"/lib"),
-	   get_files(vpath+"/bin"));
+	   get_files(vpath+"/bin"),
+	   get_files(vpath+"/man"),
+	   ({ vpath+"/autodoc/Makefile", vpath+"/autodoc/Makefile.in",
+	      vpath+"/autodoc/structure.xml", vpath+"/autodoc/tags.txt",
+	      vpath+"/autodoc/.cvsignore",
+	   }));
 
   werror("Creating "+vpath+"-indigo.tar.gz:\n");
   object o=Stdio.File();
-- 
GitLab