Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 1 | ######################################################################## |
Guido van Rossum | af5b83e | 1995-01-04 19:02:35 +0000 | [diff] [blame] | 2 | # Copyright 1991-1995 by Stichting Mathematisch Centrum, Amsterdam, |
| 3 | # The Netherlands. |
| 4 | # |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 5 | # All Rights Reserved |
Guido van Rossum | af5b83e | 1995-01-04 19:02:35 +0000 | [diff] [blame] | 6 | # |
| 7 | # Permission to use, copy, modify, and distribute this software and its |
| 8 | # documentation for any purpose and without fee is hereby granted, |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 9 | # provided that the above copyright notice appear in all copies and that |
Guido van Rossum | af5b83e | 1995-01-04 19:02:35 +0000 | [diff] [blame] | 10 | # both that copyright notice and this permission notice appear in |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 11 | # supporting documentation, and that the names of Stichting Mathematisch |
| 12 | # Centrum or CWI not be used in advertising or publicity pertaining to |
| 13 | # distribution of the software without specific, written prior permission. |
Guido van Rossum | af5b83e | 1995-01-04 19:02:35 +0000 | [diff] [blame] | 14 | # |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 15 | # STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO |
| 16 | # THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND |
| 17 | # FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE |
| 18 | # FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
| 19 | # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
| 20 | # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT |
| 21 | # OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 22 | ######################################################################## |
Guido van Rossum | 627b2d7 | 1993-12-24 10:39:16 +0000 | [diff] [blame] | 23 | |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 24 | # Toplevel Makefile for Python |
| 25 | # Note -- if recursive makes fail, try adding MAKE=make |
Guido van Rossum | 627b2d7 | 1993-12-24 10:39:16 +0000 | [diff] [blame] | 26 | |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 27 | # Substitutions by configure |
| 28 | srcdir= @srcdir@ |
| 29 | VPATH= @srcdir@ |
| 30 | INSTALL= @INSTALL@ |
Guido van Rossum | 6403d28 | 1995-01-20 16:51:32 +0000 | [diff] [blame] | 31 | INSTALL_PROGRAM=@INSTALL_PROGRAM@ |
| 32 | INSTALL_DATA= @INSTALL_DATA@ |
Guido van Rossum | 4a91df4 | 1994-10-10 17:58:27 +0000 | [diff] [blame] | 33 | RANLIB= @RANLIB@ |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 34 | |
Guido van Rossum | ac405f6 | 1994-09-12 10:56:06 +0000 | [diff] [blame] | 35 | # Machine-dependent subdirectories |
| 36 | MACHDEP= @MACHDEP@ |
| 37 | |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 38 | # Install prefix for architecture-independent files |
Guido van Rossum | 76be6ed | 1995-01-02 18:33:54 +0000 | [diff] [blame] | 39 | prefix= @prefix@ |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 40 | |
| 41 | # Install prefix for architecture-dependent files |
Guido van Rossum | 76be6ed | 1995-01-02 18:33:54 +0000 | [diff] [blame] | 42 | exec_prefix= @exec_prefix@ |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 43 | |
Guido van Rossum | 9041279 | 1994-10-20 22:04:30 +0000 | [diff] [blame] | 44 | # Expanded directories |
| 45 | MANDIR=$(prefix)/man |
| 46 | BINDIR=$(exec_prefix)/bin |
| 47 | LIBDIR=$(exec_prefix)/lib |
| 48 | INCLUDEDIR=$(prefix)/include |
| 49 | SCRIPTDIR=$(prefix)/lib |
| 50 | |
Guido van Rossum | ac405f6 | 1994-09-12 10:56:06 +0000 | [diff] [blame] | 51 | # Symbols used for using shared libraries |
| 52 | SO= @SO@ |
| 53 | LDSHARED= @LDSHARED@ |
| 54 | CCSHARED= @CCSHARED@ |
| 55 | LINKFORSHARED= @LINKFORSHARED@ |
Guido van Rossum | 9041279 | 1994-10-20 22:04:30 +0000 | [diff] [blame] | 56 | DESTSHARED= $(SCRIPTDIR)/python/$(MACHDEP) |
Guido van Rossum | ac405f6 | 1994-09-12 10:56:06 +0000 | [diff] [blame] | 57 | |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 58 | # Programs |
| 59 | SHELL= /bin/sh |
| 60 | |
| 61 | # --with-PACKAGE options for configure script |
| 62 | # e.g. --with-readline --with-svr5 --with-solaris --with-thread |
| 63 | # (see README for an explanation) |
| 64 | WITH= |
| 65 | |
| 66 | # Compiler options passed to subordinate makes |
Guido van Rossum | 4e8af44 | 1994-08-19 15:33:54 +0000 | [diff] [blame] | 67 | OPT= @OPT@ |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 68 | |
| 69 | # Subdirectories where to run make recursively |
| 70 | SUBDIRS= Parser Objects Python Modules |
| 71 | |
| 72 | # Other subdirectories |
| 73 | SUBDIRSTOO= Include Lib Doc Misc Demo readline Grammar |
| 74 | |
| 75 | # Files and directories to be distributed |
| 76 | CONFIGFILES= configure configure.in acconfig.h config.h.in Makefile.in |
| 77 | DISTFILES= README ChangeLog $(CONFIGFILES) |
| 78 | DISTDIRS= $(SUBDIRS) $(SUBDIRSTOO) Ext-dummy |
| 79 | DIST= $(DISTFILES) $(DISTDIRS) |
| 80 | |
| 81 | # Default target |
| 82 | all: python |
| 83 | |
| 84 | # Build the interpreter |
| 85 | python: Makefiles |
Guido van Rossum | 810a92f | 1993-12-28 19:39:56 +0000 | [diff] [blame] | 86 | for i in $(SUBDIRS); do \ |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 87 | (echo $$i; cd $$i; $(MAKE) OPT="$(OPT)" all); \ |
Guido van Rossum | 810a92f | 1993-12-28 19:39:56 +0000 | [diff] [blame] | 88 | done |
| 89 | |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 90 | # Test the interpreter (twice, once without .pyc files, once with) |
Guido van Rossum | 76be6ed | 1995-01-02 18:33:54 +0000 | [diff] [blame] | 91 | TESTPATH= $(srcdir)/Lib:$(srcdir)/Lib/test:./Modules |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 92 | test: python |
| 93 | -rm -f $(srcdir)/Lib/test/*.pyc |
| 94 | PYTHONPATH=$(TESTPATH) ./python -c 'import autotest' |
| 95 | PYTHONPATH=$(TESTPATH) ./python -c 'import autotest' |
Guido van Rossum | 810a92f | 1993-12-28 19:39:56 +0000 | [diff] [blame] | 96 | |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 97 | # Install the interpreter |
| 98 | install: python |
Guido van Rossum | 6403d28 | 1995-01-20 16:51:32 +0000 | [diff] [blame] | 99 | $(INSTALL_PROGRAM) python $(BINDIR)/python |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 100 | @echo If this is your first time, consider make libinstall... |
Guido van Rossum | 810a92f | 1993-12-28 19:39:56 +0000 | [diff] [blame] | 101 | |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 102 | # Install the library. |
| 103 | # If your system does not support "cp -r", try "copy -r" or perhaps |
Guido van Rossum | 7522f03 | 1994-08-30 12:42:01 +0000 | [diff] [blame] | 104 | # something like find Lib -print | cpio -pacvdmu $(LIBDEST) |
Guido van Rossum | 9041279 | 1994-10-20 22:04:30 +0000 | [diff] [blame] | 105 | LIBDEST= $(SCRIPTDIR)/python |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 106 | libinstall: |
Guido van Rossum | 7522f03 | 1994-08-30 12:42:01 +0000 | [diff] [blame] | 107 | -if test ! -d $(LIBDEST); \ |
| 108 | then mkdir $(LIBDEST); \ |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 109 | fi |
Guido van Rossum | 7522f03 | 1994-08-30 12:42:01 +0000 | [diff] [blame] | 110 | cp -r $(srcdir)/Lib/* $(LIBDEST) |
| 111 | PYTHONPATH=$(LIBDEST) \ |
| 112 | ./python $(LIBDEST)/compileall.py $(LIBDEST) |
Guido van Rossum | 6403d28 | 1995-01-20 16:51:32 +0000 | [diff] [blame] | 113 | $(MAKE) sharedinstall |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 114 | |
| 115 | # install the manual page |
| 116 | maninstall: |
Guido van Rossum | 6403d28 | 1995-01-20 16:51:32 +0000 | [diff] [blame] | 117 | $(INSTALL_DATA) $(srcdir)/Misc/python.man \ |
Guido van Rossum | 9041279 | 1994-10-20 22:04:30 +0000 | [diff] [blame] | 118 | $(MANDIR)/man1/python.1 |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 119 | |
| 120 | # install the include files |
Guido van Rossum | 9041279 | 1994-10-20 22:04:30 +0000 | [diff] [blame] | 121 | INCLUDEPY= $(INCLUDEDIR)/Py |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 122 | inclinstall: |
| 123 | -if test ! -d $(INCLUDEPY); \ |
| 124 | then mkdir $(INCLUDEPY); \ |
| 125 | fi |
Guido van Rossum | 6403d28 | 1995-01-20 16:51:32 +0000 | [diff] [blame] | 126 | $(INSTALL_DATA) $(srcdir)/Include/*.h $(INCLUDEPY) |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 127 | |
| 128 | # install the lib*.a files and miscellaneous stuff needed by extensions |
Guido van Rossum | 9041279 | 1994-10-20 22:04:30 +0000 | [diff] [blame] | 129 | LIBP= $(LIBDIR)/python |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 130 | LIBPL= $(LIBP)/lib |
| 131 | libainstall: all |
| 132 | -if test ! -d $(LIBP); \ |
| 133 | then mkdir $(LIBP); \ |
| 134 | fi |
| 135 | -if test ! -d $(LIBPL); \ |
| 136 | then mkdir $(LIBPL); \ |
| 137 | fi |
| 138 | for i in $(SUBDIRS); do \ |
Guido van Rossum | 6403d28 | 1995-01-20 16:51:32 +0000 | [diff] [blame] | 139 | echo $$i; $(INSTALL_DATA) $$i/lib$$i.a $(LIBPL)/lib$$i.a; \ |
Guido van Rossum | 4a91df4 | 1994-10-10 17:58:27 +0000 | [diff] [blame] | 140 | $(RANLIB) $(LIBPL)/lib$$i.a; \ |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 141 | done |
Guido van Rossum | 6403d28 | 1995-01-20 16:51:32 +0000 | [diff] [blame] | 142 | $(INSTALL_DATA) Modules/config.c $(LIBPL)/config.c |
| 143 | $(INSTALL_DATA) $(srcdir)/Modules/config.c.in $(LIBPL)/config.c.in |
| 144 | $(INSTALL_DATA) Modules/Makefile $(LIBPL)/Makefile |
| 145 | $(INSTALL_DATA) Modules/Setup $(LIBPL)/Setup |
| 146 | $(INSTALL_DATA) $(srcdir)/Modules/makesetup $(LIBPL)/makesetup |
| 147 | $(INSTALL_DATA) config.h $(LIBPL)/config.h |
| 148 | $(INSTALL_DATA) $(srcdir)/Python/frozenmain.c $(LIBPL)/frozenmain.c |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 149 | |
Guido van Rossum | ac405f6 | 1994-09-12 10:56:06 +0000 | [diff] [blame] | 150 | # install the dynamically loadable modules |
| 151 | sharedinstall: |
| 152 | cd Modules; $(MAKE) \ |
| 153 | OPT="$(OPT)" \ |
| 154 | SO="$(SO)" \ |
| 155 | LDSHARED="$(LDSHARED)" \ |
| 156 | CCSHARED="$(CCSHARED)" \ |
| 157 | LINKFORSHARED="$(LINKFORSHARED)" \ |
| 158 | DESTSHARED="$(DESTSHARED)" \ |
| 159 | sharedinstall |
| 160 | |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 161 | # Build the sub-Makefiles |
Guido van Rossum | d09119e | 1995-01-17 16:45:08 +0000 | [diff] [blame] | 162 | Makefiles: config.status Modules/Makefile.pre |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 163 | (cd Modules; $(MAKE) -f Makefile.pre Makefile) |
| 164 | for i in . $(SUBDIRS); do \ |
| 165 | (echo $$i; cd $$i; $(MAKE) Makefile); \ |
| 166 | done |
| 167 | |
Guido van Rossum | d09119e | 1995-01-17 16:45:08 +0000 | [diff] [blame] | 168 | # Build the intermediate Makefile in Modules |
| 169 | Modules/Makefile.pre: config.status |
| 170 | $(SHELL) config.status |
| 171 | |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 172 | # Build the toplevel Makefile |
| 173 | Makefile: Makefile.in config.status |
| 174 | CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) config.status |
| 175 | |
| 176 | # Run the configure script. If config.status already exists, |
| 177 | # call it with the --recheck argument, which reruns configure with the |
| 178 | # same options as it was run last time; otherwise run the configure |
| 179 | # script with options taken from the $(WITH) variable |
| 180 | config.status: $(srcdir)/configure |
| 181 | if test -f config.status; \ |
| 182 | then $(SHELL) config.status --recheck; \ |
Guido van Rossum | fb00a99 | 1995-01-12 12:26:50 +0000 | [diff] [blame] | 183 | $(SHELL) config.status; \ |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 184 | else $(SHELL) $(srcdir)/configure $(WITH); \ |
| 185 | fi |
| 186 | |
| 187 | .PRECIOUS: config.status python |
| 188 | |
| 189 | # Rerun configure with the same options as it was run last time, |
| 190 | # provided the config.status script exists |
| 191 | recheck: |
| 192 | $(SHELL) config.status --recheck |
Guido van Rossum | af5b83e | 1995-01-04 19:02:35 +0000 | [diff] [blame] | 193 | $(SHELL) config.status |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 194 | |
| 195 | # Rebuild the configure script from configure.in; also rebuild config.h.in |
| 196 | autoconf: |
| 197 | (cd $(srcdir); autoconf; autoheader) |
| 198 | |
| 199 | # Create a tags file for vi |
| 200 | tags:: |
| 201 | ctags -w -t Include/*.h |
| 202 | for i in $(SUBDIRS); do ctags -w -t -a $$i/*.[ch]; done |
| 203 | sort tags -o tags |
| 204 | |
| 205 | # Create a tags file for GNU Emacs |
| 206 | TAGS:: |
Guido van Rossum | 5552eb7 | 1994-08-05 15:51:00 +0000 | [diff] [blame] | 207 | etags Include/*.h |
| 208 | for i in $(SUBDIRS); do etags -a $$i/*.[ch]; done |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 209 | |
| 210 | # Add dependencies to sub-Makefiles |
Guido van Rossum | 810a92f | 1993-12-28 19:39:56 +0000 | [diff] [blame] | 211 | depend: |
| 212 | for i in $(SUBDIRS); do \ |
| 213 | (echo $$i; cd $$i; $(MAKE) depend); \ |
| 214 | done |
Guido van Rossum | 627b2d7 | 1993-12-24 10:39:16 +0000 | [diff] [blame] | 215 | |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 216 | # Sanitation targets -- clean leaves libraries, executables and tags |
| 217 | # files, which clobber removes those as well |
| 218 | |
Guido van Rossum | 627b2d7 | 1993-12-24 10:39:16 +0000 | [diff] [blame] | 219 | localclean: |
| 220 | -rm -f core *~ [@,#]* *.old *.orig *.rej |
Guido van Rossum | 627b2d7 | 1993-12-24 10:39:16 +0000 | [diff] [blame] | 221 | |
| 222 | clean: localclean |
| 223 | -for i in $(SUBDIRS); do \ |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 224 | (echo $$i; cd $$i; \ |
| 225 | if test -f Makefile; \ |
| 226 | then $(MAKE) clean; \ |
| 227 | else $(MAKE) -f Makefile.*in clean; \ |
| 228 | fi); \ |
Guido van Rossum | 627b2d7 | 1993-12-24 10:39:16 +0000 | [diff] [blame] | 229 | done |
| 230 | |
Guido van Rossum | 810a92f | 1993-12-28 19:39:56 +0000 | [diff] [blame] | 231 | localclobber: localclean |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 232 | -rm -f tags TAGS python |
Guido van Rossum | af07a44 | 1995-02-13 19:45:27 +0000 | [diff] [blame] | 233 | -rm -f config.log config.cache config.h Makefile |
Guido van Rossum | 810a92f | 1993-12-28 19:39:56 +0000 | [diff] [blame] | 234 | |
| 235 | clobber: localclobber |
Guido van Rossum | 627b2d7 | 1993-12-24 10:39:16 +0000 | [diff] [blame] | 236 | -for i in $(SUBDIRS); do \ |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 237 | (echo $$i; cd $$i; \ |
| 238 | if test -f Makefile; \ |
| 239 | then $(MAKE) clobber; \ |
Guido van Rossum | 7b4d460 | 1995-03-22 12:27:16 +0000 | [diff] [blame] | 240 | else $(MAKE) -f $(srcdir)/Makefile.in clobber; \ |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 241 | fi); \ |
Guido van Rossum | 627b2d7 | 1993-12-24 10:39:16 +0000 | [diff] [blame] | 242 | done |
| 243 | |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 244 | # Make things extra clean, before making a distribution |
Guido van Rossum | 627b2d7 | 1993-12-24 10:39:16 +0000 | [diff] [blame] | 245 | distclean: clobber |
Guido van Rossum | 7b4d460 | 1995-03-22 12:27:16 +0000 | [diff] [blame] | 246 | -$(MAKE) -f $(srcdir)/Makefile.in \ |
| 247 | SUBDIRS="$(SUBDIRSTOO)" clobber |
Guido van Rossum | 76be6ed | 1995-01-02 18:33:54 +0000 | [diff] [blame] | 248 | -rm -f config.status config.log config.cache config.h Makefile |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 249 | -for i in $(SUBDIRS) $(SUBDIRSTOO); do \ |
| 250 | for f in $$i/*.in; do \ |
| 251 | f=`basename "$$f" .in`; \ |
| 252 | if test "$$f" != "*"; then \ |
| 253 | echo rm -f "$$i/$$f"; \ |
| 254 | rm -f "$$i/$$f"; \ |
| 255 | fi; \ |
| 256 | done; \ |
Guido van Rossum | 627b2d7 | 1993-12-24 10:39:16 +0000 | [diff] [blame] | 257 | done |
Guido van Rossum | 627b2d7 | 1993-12-24 10:39:16 +0000 | [diff] [blame] | 258 | |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 259 | # Find files with funny names |
| 260 | find: |
| 261 | find $(DISTDIRS) -type d \ |
| 262 | -o -name '*.[chs]' \ |
| 263 | -o -name '*.py' \ |
| 264 | -o -name '*.doc' \ |
| 265 | -o -name '*.sty' \ |
| 266 | -o -name '*.bib' \ |
| 267 | -o -name '*.dat' \ |
| 268 | -o -name '*.el' \ |
| 269 | -o -name '*.fd' \ |
| 270 | -o -name '*.in' \ |
| 271 | -o -name '*.tex' \ |
| 272 | -o -name '*,[vpt]' \ |
| 273 | -o -name 'Setup' \ |
| 274 | -o -name 'Setup.*' \ |
| 275 | -o -name README \ |
| 276 | -o -name Makefile \ |
| 277 | -o -name ChangeLog \ |
| 278 | -o -name RCS \ |
| 279 | -o -name Repository \ |
| 280 | -o -name Entries \ |
| 281 | -o -name Tag \ |
| 282 | -o -name tags \ |
| 283 | -o -name TAGS \ |
| 284 | -o -name .cvsignore \ |
| 285 | -o -name MANIFEST \ |
| 286 | -o -print |
Guido van Rossum | 627b2d7 | 1993-12-24 10:39:16 +0000 | [diff] [blame] | 287 | |
Guido van Rossum | 433c8ad | 1994-08-01 12:07:07 +0000 | [diff] [blame] | 288 | # Build a distribution tar file (run make distclean first) |
| 289 | # (This leaves the RCS and CVS directories in :-( ) |
| 290 | tar: |
Guido van Rossum | 5552eb7 | 1994-08-05 15:51:00 +0000 | [diff] [blame] | 291 | tar cf - $(DIST) | gzip --best >dist.tar.gz |