Cac
view release on metacpan or search on metacpan
gen/Makefile.unix view on Meta::CPAN
XSUBPP=$(PERL) $(XSUBDIR)/xsubpp
%.o:%.c ; $(CC) -c $(CFLAGS) -o $@ $<
%.c:%.xs ; $(XSUBPP) -typemap $(XSUBDIR)/typemap $< >$@
all: cperl
install: cperl
@if [ -f "$(CACHEDIR)/bin/cache.old" ] ; then \
echo "sorry, there is already a backup copy of your cache binary" ; \
echo "Aborting - nothing done" ; \
exit 1 ; \
fi
mv "$(CACHEDIR)/bin/cache" "$(CACHEDIR)/bin/cache.old"
cp ./cperl "$(CACHEDIR)/bin/cperl"
-( cd "$(CACHEDIR)/bin" && ln -s cperl cache)
@echo "install complete you may now start Cache again"
uninstall:
@if [ ! -f "$(CACHEDIR)/bin/cache.old" ] ; then \
( run in 3.602 seconds using v1.01-cache-2.11-cpan-49f99fa48dc )