Last change
on this file since 183 was
168,
checked in by tim, 15 years ago
|
merged remaining smb_deps items into regfi
began formatting API comments for use with doxygen
|
-
Property svn:keywords set to
Id
|
File size:
857 bytes
|
Rev | Line | |
---|
[34] | 1 | # $Id: Makefile 168 2010-03-03 00:08:42Z tim $ |
---|
[21] | 2 | |
---|
| 3 | # This Makefile is used only for packaging releases out of Subversion. |
---|
| 4 | ################################################################################ |
---|
| 5 | |
---|
[157] | 6 | SVN_URL=svn+ssh://pascal.sentinelchicken.org/home/projects/subversion/reglookup |
---|
[51] | 7 | SUB_DIRS=$(wildcard releases/*) trunk |
---|
[21] | 8 | |
---|
| 9 | FILES=$(REGLOOKUP) |
---|
[168] | 10 | .PHONY: all $(SUB_DIRS) clean doc |
---|
[21] | 11 | export |
---|
| 12 | |
---|
| 13 | |
---|
[157] | 14 | RELEASE_NAME=reglookup-trunk |
---|
[21] | 15 | RELEASE_DEST=. |
---|
| 16 | |
---|
| 17 | all: |
---|
| 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? |
---|
[34] | 26 | cd .release/$(RELEASE_NAME)/doc && make release |
---|
[21] | 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 | |
---|
[168] | 33 | doc: |
---|
| 34 | doxygen doc/Doxyfile.regfi |
---|
| 35 | |
---|
[21] | 36 | clean: |
---|
| 37 | rm -rf .release |
---|
[168] | 38 | rm -rf doc/regfi |
---|
Note: See
TracBrowser
for help on using the repository browser.