cvs commit

From: Date: Sat, 03 Jul 1999 15:35:09 +0000
Subject: cvs commit
Groups: php.version4 
Request: Send a blank email to php-version4+get-1863@lists.php.net to get a copy of this message
From: sas Date: Sat Jul 3 15:35:09 1999 Modified files: php4/Makefile.in Log message: 'make dist' builds an easy distributable tarball Index: php4/Makefile.in diff -u php4/Makefile.in:1.44 php4/Makefile.in:1.45 --- php4/Makefile.in:1.44 Sun Jun 27 23:01:48 1999 +++ php4/Makefile.in Sat Jul 3 15:35:08 1999 @@ -24,7 +24,7 @@ # +----------------------------------------------------------------------+ # -# $Id: Makefile.in,v 1.44 1999/06/28 03:01:48 sas Exp $ +# $Id: Makefile.in,v 1.45 1999/07/03 19:35:08 sas Exp $ # prefix = @prefix@ @@ -38,6 +38,8 @@ ZEND_DIR = $(srcdir)/libzend SUBDIRS=libzend ext @TSRM_DIR@ +PACKAGE = @PACKAGE@ +VERSION = @VERSION@ LN_S = @LN_S@ CC = @CC@ AR = ar rc @@ -137,6 +139,32 @@ -rm -f doc/checkdoc doc/funcparse doc/version.ent -rm -f do-conf test/test.log -rm -f doc/Makefile regex/Makefile + +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) + +dist: distdir + -chmod -R a+r $(distdir) + tar chozf $(distdir).tar.gz $(distdir) + -rm -rf $(distdir) + +distdir: + -rm -rf $(distdir) + files=echo * ;\ + mkdir $(distdir) ;\ + for file in $$files ; do \ + d=$(srcdir); \ + if test -d $$d/$$file ; then \ + cp -pr $$d/$$file $(distdir)/$$file; \ + else \ + test -f $(distdir)/$$file \ + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ + || cp -p $$d/$$file $(distdir)/$$file || :; \ + fi; \ + done + (cd $(distdir) ; $(MAKE) distclean) + find $(distdir) -name CVS -type d | xargs rm -rf + maintainer-clean-depend: maintainer-clean-depend-recursive

« previous php.version4 (#1863) next »