added version numbers to archives

svn path=/trunk/boinc/; revision=555
This commit is contained in:
Eric Heien 2002-11-01 00:58:52 +00:00
parent 52287f799b
commit ef28bdae67
2 changed files with 13 additions and 7 deletions

View File

@ -7,6 +7,9 @@ VPATH = @srcdir@
INSTALL_DIR = /usr/local/boinc INSTALL_DIR = /usr/local/boinc
MINOR_VERSION = 02
MAJOR_VERSION = 0
# #
# The ../$(srcdir)/client/configure # The ../$(srcdir)/client/configure
# only works when the original configure is relative path # only works when the original configure is relative path
@ -83,10 +86,10 @@ ARCHIVE_TARGETS = \
*.in *.sub *.guess *.m4 *.in *.sub *.guess *.m4
tar: tar:
tar cf boinc.tar $(ARCHIVE_TARGETS) ; gzip boinc.tar tar cf boinc_$(MAJOR_VERSION).$(MINOR_VERSION).tar $(ARCHIVE_TARGETS) ; gzip boinc_$(MAJOR_VERSION).$(MINOR_VERSION).tar
zip: zip:
zip boinc.zip $(ARCHIVE_TARGETS) zip boinc_$(MAJOR_VERSION).$(MINOR_VERSION).zip $(ARCHIVE_TARGETS)
client_tar: clean client_tar: clean
cd client; ./configure; ${MAKE} tar; cd client; ./configure; ${MAKE} tar;

View File

@ -5,7 +5,9 @@ VPATH = @srcdir@
INSTALL_DIR = /usr/local/boinc INSTALL_DIR = /usr/local/boinc
VERSION = 1 MINOR_VERSION = 02
MAJOR_VERSION = 0
VERSION = 2
CFLAGS = -g -Wall @DEFS@ \ CFLAGS = -g -Wall @DEFS@ \
-I @srcdir@ \ -I @srcdir@ \
@ -21,7 +23,7 @@ CC = @CC@ $(CFLAGS)
CLIBS = @LIBS@ CLIBS = @LIBS@
CLIENT_PROG = boinc_$(VERSION)_@host@ CLIENT_PROG = boinc_$(MAJOR_VERSION).$(MINOR_VERSION)_@host@
PROGS = $(CLIENT_PROG) test_net_xfer test_http test_file_xfer PROGS = $(CLIENT_PROG) test_net_xfer test_http test_file_xfer
all: $(PROGS) all: $(PROGS)
@ -108,11 +110,12 @@ test_file_xfer: test_file_xfer.o $(TEST_FX_OBJS)
$(CC) test_file_xfer.o $(TEST_FX_OBJS) $(CLIBS) -o test_file_xfer $(CC) test_file_xfer.o $(TEST_FX_OBJS) $(CLIBS) -o test_file_xfer
tar: tar:
cd $(topsrcdir)/..; tar cf boinc_client.tar $(ARCHIVE_TARGETS); \ cd $(topsrcdir)/..; \
gzip boinc_client.tar; tar cf boinc_client_$(MAJOR_VERSION).$(MINOR_VERSION).tar $(ARCHIVE_TARGETS); \
gzip boinc_client_$(MAJOR_VERSION).$(MINOR_VERSION).tar;
zip: zip:
cd $(topsrcdir)/..; zip boinc_client.zip $(ARCHIVE_TARGETS) cd $(topsrcdir)/..; zip boinc_client_$(MAJOR_VERSION).$(MINOR_VERSION).zip $(ARCHIVE_TARGETS)
clean: clean:
rm -f *.o $(PROGS) core dependencies config.cache rm -f *.o $(PROGS) core dependencies config.cache