emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
blob 67f515534faf93f200c0ca612a402e31c941d551 1543 bytes (raw)
name: UTILITIES/server.mk 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
 
#----------------------------------------------------------------------
# This file is used for maintenance of org on the server.
#----------------------------------------------------------------------
.PHONY:	helpserver reltest rel-dirty warn

help helpall helpserver::
	$(info )
	$(info Maintenance)
	$(info ===========)
	$(info reltest               - clean up and create TAR/ZIP release archives)
helpserver::
	@echo ""

#----------------------------------------------------------------------

ORGDIR = org-$(GITVERSION)
ORGTAR = $(ORGDIR).tar.gz
ORGZIP = $(ORGDIR).zip
ORGDIST = README Makefile default.mk targets.mk request-assign-future.txt \
	  lisp/ etc/ doc/ contrib/

ORG_MAKE_DOC = info pdf card # do not make HTML documentation for release

reltest:	cleanall doc autoloads rel-dirty
rel-dirty:
	-@$(RM) $(ORGDIR) $(ORGTAR) $(ORGZIP)
	ln -s . $(ORGDIR)
	tar -zcf $(ORGTAR) $(foreach dist, $(ORGDIST), $(ORGDIR)/$(dist))
	zip -r9 $(ORGZIP) $(foreach dist, $(ORGDIST), $(ORGDIR)/$(dist))
	-@$(RM) $(ORGDIR)
	$(if $(filter-out $(ORGVERSION), $(GITVERSION)), \
	    @$(MAKE) warn)
	@echo ORGVERSION=$(ORGVERSION) GITVERSION=$(GITVERSION)

warn:
	$(info  ======================================================)
	$(info  =                                                    =)
	$(info  = A release should only be made from a revision that =)
	$(info  = has an annotated tag!                              =)
	$(info  =                                                    =)
	$(info  ======================================================)

debug log:

solving 67f5155 ...
found 67f5155 in https://git.savannah.gnu.org/cgit/emacs/org-mode.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).