head 1.5; access; symbols SVS_1_1_0:1.5 SVS_1_0_5:1.3 SVS_1_0_4:1.3 SVS_1_0_3:1.3 SVS_1_0_2:1.3 SVS_1_0_1:1.3 SVS_1_0_0:1.1; locks; strict; comment @# @; 1.5 date 2009.06.25.18.11.59; author rse; state Exp; branches; next 1.4; commitid kx8jUjxgtb50xgTt; 1.4 date 2009.06.25.18.09.59; author rse; state Exp; branches; next 1.3; commitid 27GpmTUfg8ljwgTt; 1.3 date 2005.01.13.11.14.01; author rse; state Exp; branches; next 1.2; 1.2 date 2005.01.13.11.12.58; author rse; state Exp; branches; next 1.1; 1.1 date 2004.12.14.19.18.37; author rse; state Exp; branches; next ; desc @@ 1.5 log @adjust copyright messages @ text @## ## OSSP svs -- Stupid/Silly/Simple Versioning System ## Copyright (c) 2003-2009 Ralf S. Engelschall ## Copyright (c) 2003-2009 The OSSP Project ## ## This file is part of OSSP svs, a stupid/silly/simple versioning ## system which can found at http://www.ossp.org/pkg/tool/svs/ ## ## Permission to use, copy, modify, and distribute this software for ## any purpose with or without fee is hereby granted, provided that ## the above copyright notice and this permission notice appear in all ## copies. ## ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF ## SUCH DAMAGE. ## ## Makefile.in: make(1) build procedure ## @@SET_MAKE@@ # installation paths DESTDIR = prefix = @@prefix@@ exec_prefix = @@exec_prefix@@ datarootdir = @@datarootdir@@ bindir = @@bindir@@ libdir = @@libdir@@ includedir = @@includedir@@ mandir = @@mandir@@ # build tools RM = rm -f RMDIR = rmdir SHTOOL = ./shtool TRUE = true POD2MAN = pod2man # default target all: svs.1 svs.1: svs.pod V1=`$(SHTOOL) version -l txt -d short VERSION`; \ V2=`$(SHTOOL) version -l txt -d long VERSION`; \ D=`$(SHTOOL) version -l txt -d long VERSION | sed -e 's;.*(;;' -e 's;).*;;'`; \ $(POD2MAN) --quotes=none \ --section=1 --center="Stupid/Silly/Simple Versioning System" \ --release="$$D" --date="OSSP svs $$V1" svs.pod | \ sed -e "s;SVS_VERSION_STR;$$V2;" >svs.1 # perform installation procedure install: $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(prefix) $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(bindir) $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(mandir)/man1 $(SHTOOL) install -c -m 755 svs.sh $(DESTDIR)$(bindir)/svs $(SHTOOL) install -c -m 644 svs.1 $(DESTDIR)$(mandir)/man1/svs.1 # perform uninstallation procedure uninstall: -$(RM) $(DESTDIR)$(bindir)/svs -$(RM) $(DESTDIR)$(mandir)/man1/svs.1 -$(RMDIR) $(DESTDIR)$(mandir)/man1 >/dev/null 2>&1 || $(TRUE) -$(RMDIR) $(DESTDIR)$(mandir) >/dev/null 2>&1 || $(TRUE) -$(RMDIR) $(DESTDIR)$(bindir) >/dev/null 2>&1 || $(TRUE) -$(RMDIR) $(DESTDIR)$(prefix) >/dev/null 2>&1 || $(TRUE) # perform build clean up procedure clean: # perform distribution clean up procedure distclean: clean -$(RM) config.log config.status config.cache -$(RM) Makefile # perform developer clean up procedure realclean: distclean -$(RM) svs.1 @ 1.4 log @Upgrade build environment to GNU autoconf 2.63 and GNU shtool 2.0.8 @ text @d3 2 a4 2 ## Copyright (c) 2003-2005 Ralf S. Engelschall ## Copyright (c) 2003-2005 The OSSP Project @ 1.3 log @Adjust copyright messages for new year 2005 @ text @d36 1 @ 1.2 log @1. Add a convenient "svs status" command which output a "cvs update" style list of files and their status (modification or conflict). 2. Remove *.rej files on "svs vi" if a modification was done. 3. Fix "make uninstall" procedure. @ text @d3 2 a4 2 ## Copyright (c) 2003-2004 Ralf S. Engelschall ## Copyright (c) 2003-2004 The OSSP Project @ 1.1 log @initial cut for OSSP svs @ text @d70 1 a70 1 -$(RM) $(DESTDIR)$(mandir)/bin/svs d73 1 @