3 ${error You must specify the RELEASE variable
(e.g. make RELEASE
=2.2)}
5 RELEASETAG
=$(subst .
,-,$(RELEASE
))
6 TAG
=contiki-
$(RELEASETAG
)
12 CVSUSER
=:pserver
:anonymous
15 CVSROOT
=$(CVSUSER
)@contiki.cvs.sourceforge.net
:/cvsroot
/contiki
19 test: export-package compile almost-clean
21 export-package
: clean export copy tgz zip
24 rm -rf contiki-2.x contiki-
$(RELEASE
) contiki-collect-
$(RELEASE
)
27 rm -rf contiki-2.x contiki-
$(RELEASE
) contiki-collect-
$(RELEASE
) *.zip
*.
tar.gz
30 cp
-r contiki-2.x contiki-
$(RELEASE
)
33 (cd contiki-2.x
/doc
; make dox pdf
)
36 cp contiki-2.x
/doc
/latex
/refman.pdf contiki-
$(RELEASE
)/doc
/
37 cp
-r contiki-2.x
/doc
/html contiki-
$(RELEASE
)/doc
/
40 tar czf contiki-
$(RELEASE
).
tar.gz contiki-
$(RELEASE
)
41 chmod
644 contiki-
$(RELEASE
).
tar.gz
44 zip
-r contiki-
$(RELEASE
).zip contiki-
$(RELEASE
)
45 chmod
644 contiki-
$(RELEASE
).zip
48 (cd contiki-2.x
/examples
/compile-platforms
; make
)
51 cvs
-d
$(CVSROOT
) co -r
$(TAG
) contiki-2.x
54 cvs
-d
$(CVSROOT
) export -r
$(TAG
) contiki-2.x
57 -include Makefile.raven
59 all: export-package
$(BINARIES
) almost-clean