diff options
| author | David Aspinall | 2002-07-15 09:36:37 +0000 |
|---|---|---|
| committer | David Aspinall | 2002-07-15 09:36:37 +0000 |
| commit | 9d1251ca31bcf99e238399103db29740a56c1c5f (patch) | |
| tree | 0813db989eb8de4b6d9a330fcdfc92f11ffb0604 | |
| parent | 19901bca5d80bcd620646a038bd3e1a3a8d32a0f (diff) | |
Do not link devel release. Fix releasefinal to do that.
| -rw-r--r-- | Makefile.devel | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/Makefile.devel b/Makefile.devel index d72278e7..974c097c 100644 --- a/Makefile.devel +++ b/Makefile.devel @@ -39,7 +39,7 @@ ## watch out! ## Use 'make releaseclean' if giving up, to remove temp dirs. ## -## No facility to edit html to make a full release in this makefile. +## No facility to edit html to make a full release in this Makefile. ## Too much effort for infrequenty used function. ## Must edit download.html and doc.html by hand, then run ## @@ -47,6 +47,7 @@ ## ## Or similar to make the required version. ## +## ## To customize the tags in case of a re-release with the same official ## version: ## @@ -377,7 +378,8 @@ dist: @echo " Making compressed tar file..." @echo "*************************************************" for f in $(IGNOREDFILES); do echo $$f >> ignoredfiles; done - (cd $(DISTBUILDIR); ln -sf $(RELEASENAME) $(NAME)) +# Don't link the latest version +# (cd $(DISTBUILDIR); ln -sf $(RELEASENAME) $(NAME)) $(TAR) cvzf $(DISTBUILDIR)/$(RELEASENAMETARGZ) -C $(DISTBUILDIR) $(RELEASENAME) $(NAME) -X ignoredfiles rm -f ignoredfiles @echo "*************************************************" @@ -416,17 +418,13 @@ develdist: ## Then install the distribution in RELEASEDIR ## WARNING: RELEASEDIR is not cleaned, but files there ## with same names will be overwritten. -## Moreover, a link ProofGeneral -> ProofGeneral-<version> -## is made. ## release: distclean tag dist develdist @echo "*************************************************" @echo " Making release (installing tarball distributions)." @echo "*************************************************" mkdir -p $(RELEASEDIR) -# clean destination a bit. NB: link RELEASENAME->NAME is copied, -# so we remove that too. - (cd $(RELEASEDIR); rm $(NAME); rm -rf $(RELEASENAME)) + (cd $(RELEASEDIR); rm -rf $(RELEASENAME)) # seem to need R instead of r here now, # otherwise cp tries to make hard link instead of symlink?! cp -pfdR $(DISTBUILDIR)/* $(RELEASEDIR) @@ -486,9 +484,6 @@ fakereleaseall: ## releaseall: ## Do everything! ## -## For now, don't do distinstall any more: this only works -## for the DCS Sun machines. -## releaseall: release rpmrelease releaseclean golive ############################################################ @@ -503,9 +498,11 @@ golive: ## ## releasefinal: ## Do everything for a final release based on a pre-release. -## Don't use +## Except editing download file. ## -releasefinal: release rpmrelease distinstall releaseclean +releasefinal: release rpmrelease releaseclean +# Link the latest version + (cd $(DISTBUILDIR); rm -f $(NAME); ln -sf $(RELEASENAME) $(NAME)) ############################################################ |
