aboutsummaryrefslogtreecommitdiff
path: root/Makefile.devel
blob: 62555bdfdbbd9775f21932765cbe8822a702684c (plain)
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
59
60
61
62
63
64
65
66
67
68
#  TODO (da):
#    - tag the release in the sources
#    - build docs
#    - distrib is built by running 'make dist' in
#      exported source dir

CVSROOT = /home/lego/src
EXPORTDIR = /home/lego/pub/emacs
RELEASENAME = emacs-2.0
TRELEASENAME = $(RELEASENAME).tar

EMACS=xemacs

# Byte compilation command
BYTECOMP = $(EMACS) -batch -q -f batch-byte-compile

FILES_NONCVS = ChangeLog

FORCE:

############################################################
#
# Re-Build ChangeLog.  CVSROOT must be set correctly.
# Correct dependency would be to check repository for changes!
#
ChangeLog:	FORCE
	rm -f ChangeLog
	$(EMACS) -batch -q -f vc-update-change-log -f save-buffer



############################################################
#
# Clean up for cvs (developer only)
#
# Idea is to remove all ?'s from 'cvs update' output.
#
cvsclean:	clean
	rm -f $(FILES_NONCVS)


############################################################
#
# Clean 
#
clean:	



############################################################
#
# Build new release
#
release :
		     cd /tmp; \
		     rm -fr lego;\
		     mkdir lego;\
		     cd lego;\
		     cvs -d $(CVSROOT) export -D today elisp;\
		     cd elisp; \
		     tar cf $(TRELEASENAME) *;\
		     compress -c $(TRELEASENAME) > $(TRELEASENAME).Z;\
		     gzip -c $(TRELEASENAME) > $(TRELEASENAME).gz;\
		     cp -p $(RELEASENAME).* $(EXPORTDIR);\
		     cd ..; cvs release -d elisp