emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
blob a9ae010916f4828bef5d3bc1b1df5e5d07f72e31 2325 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
 
#----------------------------------------------------------------------
# This file is used for maintenance of org on the server.
#----------------------------------------------------------------------
.PHONY:	helpserver release rel-dirty tagwarn

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

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

ORGCOMM = README request-assign-future.txt lisp/ doc/
ORGFULL = $(ORGCOMM) Makefile default.mk targets.mk etc/ contrib/
ORGELPA = $(ORGCOMM) etc/styles/ org-pkg.el

release:	ORG_MAKE_DOC=info pdf card # do not make HTML documentation
release:	cleanall doc autoloads rel-dirty
rel-dirty:	ORGRDIR=org-$(GITVERSION)
rel-dirty:
	-@$(RM) $(ORGRDIR) $(ORGRTAR) $(ORGRZIP)
	ln -s . $(ORGRDIR)
	tar -zcf $(ORGDIR).tar.gz $(foreach dist, $(ORGFULL), $(ORGRDIR)/$(dist))
	zip -r9  $(ORGDIR).zip    $(foreach dist, $(ORGFULL), $(ORGRDIR)/$(dist))
	-@$(RM) $(ORGRDIR)
	$(if $(filter-out $(ORGVERSION), $(GITVERSION)), \
	    @$(MAKE) tagwarn)
	@echo ORGVERSION=$(ORGVERSION) GITVERSION=$(GITVERSION)

PKG_TAG = $(shell date +%Y%m%d)
PKG_DOC = "Outline-based notes management and organizer"
PKG_REQ = "nil"

elpa:		ORG_MAKE_DOC=info pdf card # do not make HTML documentation
elpa:		cleanall doc autoloads elpa-dirty
elpa-dirty:	ORGDIR=org-$(PKG_TAG)
elpa-dirty:
	-@$(RM) $(ORGDIR) $(ORGTAR) $(ORGZIP)
	ln -s . $(ORGDIR)
	echo "(define-package \"org\" \"$(PKG_TAG)\" \"$(PKG_DOC)\" $(PKG_REQ))" >org-pkg.el
	tar --exclude=Makefile  -zcf $(ORGDIR).tar.gz \
	  $(foreach dist, $(ORGELPA), $(ORGDIR)/$(dist))
	-@$(RM) $(ORGDIR) org-pkg.el
	$(if $(filter-out $(ORGVERSION), $(GITVERSION)), \
	    @$(MAKE) tagwarn)
	@echo ORGVERSION=$(ORGVERSION) GITVERSION=$(GITVERSION)

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

debug log:

solving a9ae010 ...
found a9ae010 in https://list.orgmode.org/orgmode/87628faywh.fsf@Rainer.invalid/
found 67f5155 in https://git.savannah.gnu.org/cgit/emacs/org-mode.git
preparing index
index prepared:
100644 67f515534faf93f200c0ca612a402e31c941d551	UTILITIES/server.mk

applying [1/1] https://list.orgmode.org/orgmode/87628faywh.fsf@Rainer.invalid/
diff --git a/UTILITIES/server.mk b/UTILITIES/server.mk
index 67f5155..a9ae010 100644

Checking patch UTILITIES/server.mk...
Applied patch UTILITIES/server.mk cleanly.

index at:
100644 a9ae010916f4828bef5d3bc1b1df5e5d07f72e31	UTILITIES/server.mk

(*) 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).