mirror of
https://github.com/ascii-boxes/boxes.git
synced 2025-02-12 07:40:16 +01:00
Added code to add snapshot info to version number for snapshots. This
affects the author only.
This commit is contained in:
parent
9eed60977d
commit
ba0364b2ec
10
Makefile
10
Makefile
@ -3,7 +3,7 @@
|
||||
# Creation: August 14, 1999 (Saturday, 01:08h)
|
||||
# Author: Copyright (C) 1999 Thomas Jensen
|
||||
# tsjensen@stud.informatik.uni-erlangen.de
|
||||
# Version: $Id: Makefile,v 1.4 1999/08/22 11:43:55 tsjensen Exp tsjensen $
|
||||
# Version: $Id: Makefile,v 1.5 2000/03/17 23:52:29 tsjensen Exp tsjensen $
|
||||
# Format: GNU make
|
||||
# Web Site: http://home.pages.de/~jensen/boxes/
|
||||
# Platforms: sparc/Solaris 2.6 and others
|
||||
@ -25,6 +25,11 @@
|
||||
# Revision History:
|
||||
#
|
||||
# $Log: Makefile,v $
|
||||
# Revision 1.5 2000/03/17 23:52:29 tsjensen
|
||||
# Incremented version number to 1.0.1
|
||||
# Renamed snapshot file name to boxes-SNAP-latest
|
||||
# Added README.Win32.txt to snapshot generation commands
|
||||
#
|
||||
# Revision 1.4 1999/08/22 11:43:55 tsjensen
|
||||
# Added comment to guide user to GLOBALCONF definition line
|
||||
#
|
||||
@ -79,6 +84,9 @@ locsnap: $(ALL_FILES) $(DOC_FILES)
|
||||
cp $(ALL_FILES) $(SNAPFILE)
|
||||
cp $(DOC_FILES) $(SNAPFILE)/doc
|
||||
$(MAKE) -C src SNAPFILE=../$(SNAPFILE) snap
|
||||
mv $(SNAPFILE)/Makefile $(SNAPFILE)/Makefile.vin
|
||||
cat $(SNAPFILE)/Makefile.vin | perl -ne 'if (/^(BVERSION\s*=\s*)(.*)$$/) { print "BVERSION = above $$2 (SNAP of '`date +%d-%b-%Y`')\n"; } else { print $$_; }' > $(SNAPFILE)/Makefile
|
||||
rm $(SNAPFILE)/Makefile.vin
|
||||
gtar cfvz $(SNAPFILE).tar.gz $(SNAPFILE)/*
|
||||
rm -rf $(SNAPFILE)/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user