source: Makefile @ 32

Last change on this file since 32 was 22, checked in by tim, 19 years ago

Added Id property expansion.

  • Property svn:keywords set to Id
File size: 841 bytes
RevLine 
[21]1# $Id: Makefile 22 2005-06-08 00:54:03Z tim $
2
3# This Makefile is used only for packaging releases out of Subversion.
4################################################################################
5
6SVN_URL=svn+ssh://sentinelchicken.org/home/projects/subversion/reglookup
7SUB_DIRS=$(wildcard releases/release-*) trunk
8
9FILES=$(REGLOOKUP)
10.PHONY: all $(SUB_DIRS) clean
11export
12
13
14RELEASE_NAME=reglookup-test
15RELEASE_DEST=.
16
17all:
18        @echo "Please choose one target out of: $(SUB_DIRS)."
19
20
21$(SUB_DIRS):
22        rm -rf .release
23        mkdir .release
24        svn export $(SVN_URL)/$@/ .release/$(RELEASE_NAME)
25        #XXX: Can this be less of a hack?
26        cd .release/$(RELEASE_NAME)/doc && make generate
27        cd .release\
28                && tar cf $(RELEASE_NAME).tar $(RELEASE_NAME)\
29                && gzip -9 $(RELEASE_NAME).tar
30        mv .release/$(RELEASE_NAME).tar.gz $(RELEASE_DEST)
31
32
33clean:
34        rm -rf .release
Note: See TracBrowser for help on using the repository browser.