Commits

Guido van Rossum  committed 19fa01c

Alpha 1.0.0

  • Participants
  • Parent commits 5b97004
  • Branches legacy-trunk

Comments (0)

Files changed (4)

 MAKE=		make
 
 SUBDIRS=	Parser Grammar Objects Python
+SUBDIRSTOO=	Include Extensions readline
+DISTFILES=	README Makefile configure configure.in
+DIST=		$(DISTFILES) $(SUBDIRS) $(SUBDIRSTOO)
 
 all:		config.status
 		for i in $(SUBDIRS); do (echo $$i; cd $$i; $(MAKE) all); done
 
 localclean:
 		-rm -f core *~ [@,#]* *.old *.orig *.rej
-		-(cd Py; rm -f core *~ [@,#]* *.old *.orig *.rej)
+		-(cd Include; rm -f core *~ [@,#]* *.old *.orig *.rej)
 
 clean:		localclean
 		-for i in $(SUBDIRS); do \
 configure:	configure.in
 		autoconf
  
+tar:		dist.tar.Z
+
+dist.tar.Z:	$(DIST)
+		tar cf - $(DIST) | compress >dist.tar.Z
 
 	make
 
-This will recursively run Make in each of the Parser, Objects and
-Python subdirectories.  In Parser it builds an executable "pgen" and a
-library libParser.a.  In Objects it builds a library libObjects.a.  In
-Python it builds a library libPython.a and an executable "python".
+This will recursively run Make in each of the Parser, Grammar, Objects
+and Python subdirectories.  In Parser it builds an executable "pgen"
+and a library libParser.a.  In Grammar it runs Parser/pgen to generate
+graminit.[ch] which are copied to Includes and Python, respectively.
+In Objects it builds a library libObjects.a.  In Python it builds a
+library libPython.a and an executable "python".
 
 (3) Test the resulting executable:
 
 
 # A filename unique to this package, relative to the directory that
 # configure is in, which we can look for to find out if srcdir is correct.
-unique_file=Py/object.h
+unique_file=Include/object.h
 
 # Find the source files, if location was not specified.
 if test -z "$srcdir"; then

File configure.in

 dnl Process this file with autoconf to produce a configure script.
 
-AC_INIT(Py/object.h)
+AC_INIT(Include/object.h)
 
 # checks for alternative programs
 AC_PROG_CC