## ## OSSP shiela - CVS Access Control and Logging Facility ## Copyright (c) 2000-2004 Ralf S. Engelschall ## Copyright (c) 2000-2004 The OSSP Project ## ## This file is part of OSSP shiela, an access control and logging ## facility for Concurrent Versions System (CVS) repositories ## which can be found at http://www.ossp.org/pkg/tool/shiela/. ## ## This program is free software; you can redistribute it and/or ## modify it under the terms of the GNU General Public License ## as published by the Free Software Foundation; either version ## 2.0 of the License, or (at your option) any later version. ## ## This program is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with this file; if not, write to the Free Software ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 ## USA, or contact Ralf S. Engelschall . ## ## Makefile.in: build procedure source (syntax: make) ## @SET_MAKE@ SHELL = /bin/sh SHTOOL = ./shtool RM = rm -f SED = sed POD2MAN = pod2man PERL = @PATH_PERL@ CVS = @PATH_CVS@ prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ libdir = @libdir@ includedir = @includedir@ mandir = @mandir@ DESTDIR = all: shiela shiela.1 shiela-install shiela-install.1 shiela: shiela.pl @$(SHTOOL) echo -e "%Bgenerating shiela%b" $(SED) -e "s;#!\@PERL\@;#!$(PERL);" \ shiela && \ chmod a+x shiela shiela-install: shiela-install.sh @$(SHTOOL) echo -e "%Bgenerating shiela-install%b" $(SED) -e "s;#!\@SH\@;#!$(SHELL);" \ -e "s;\@prefix\@;$(prefix);" \ -e "s;\@bindir\@;$(bindir);" \ -e "s;\@libdir\@;$(libdir);" \ shiela-install && \ chmod a+x shiela-install shiela.1: shiela.pod @$(SHTOOL) echo -e "%Bgenerating shiela.1%b" V=`$(SHTOOL) version -l txt -d short VERSION`; \ D=`$(SHTOOL) version -l txt -d long VERSION | $(SED) -e 's;.*(;;' -e 's;).*;;'`; \ $(POD2MAN) --section=1 --center="Access Control and Logging Facility for CVS" \ --release="$$D" --date="OSSP shiela $$V" shiela.pod >shiela.1 shiela-install.1: shiela-install.pod @$(SHTOOL) echo -e "%Bgenerating shiela-install.1%b" V=`$(SHTOOL) version -l txt -d short VERSION`; \ D=`$(SHTOOL) version -l txt -d long VERSION | $(SED) -e 's;.*(;;' -e 's;).*;;'`; \ $(POD2MAN) --section=1 --center="Access Control and Logging Facility for CVS" \ --release="$$D" --date="OSSP shiela $$V" shiela-install.pod >shiela-install.1 test: shiela shiela-install -@$(SHELL) ./shiela-test.sh $(CVS) $(PERL) $(SHTOOL) ./shiela ./shiela-install ./shiela-test.d ./shiela-test.log install: all $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(bindir) $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(libdir) $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(mandir)/man1 $(SHTOOL) install -c -m 755 shiela $(DESTDIR)$(bindir)/shiela $(SHTOOL) install -c -m 644 shiela.1 $(DESTDIR)$(mandir)/man1/shiela.1 $(SHTOOL) install -c -m 755 shiela-install $(DESTDIR)$(bindir)/shiela-install $(SHTOOL) install -c -m 644 shiela-install.1 $(DESTDIR)$(mandir)/man1/shiela-install.1 clean: $(RM) shiela shiela.1 $(RM) shiela-install shiela-install.1 $(RM) shiela-test.log $(RM) -r shiela-test.d distclean: clean $(RM) config.cache config.status config.log $(RM) Makefile config.h