From 8dff947f042285fb2dd8f665635ae76bbb0356ec Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 18 Feb 2012 18:12:07 +0100 Subject: [PATCH] Removed ancient scripts for making library releases --- free/libs/Makefile | 84 ----------------------------------------- free/libs/README | 19 ---------- free/libs/configure | 35 ----------------- free/libs/default.cfg | 43 --------------------- free/libucw/Makefile | 40 -------------------- free/libucw/README | 16 -------- free/libucw/configure | 35 ----------------- free/libucw/default.cfg | 20 ---------- 8 files changed, 292 deletions(-) delete mode 100644 free/libs/Makefile delete mode 100644 free/libs/README delete mode 100755 free/libs/configure delete mode 100644 free/libs/default.cfg delete mode 100644 free/libucw/Makefile delete mode 100644 free/libucw/README delete mode 100755 free/libucw/configure delete mode 100644 free/libucw/default.cfg diff --git a/free/libs/Makefile b/free/libs/Makefile deleted file mode 100644 index ffaa078d..00000000 --- a/free/libs/Makefile +++ /dev/null @@ -1,84 +0,0 @@ -# Makefile for the stand-alone release of Sherlock libraries -# (c) 2007 Martin Mares - -# The default target -all: runtree libs api programs extras configs - -# Include configuration -s=. --include obj/config.mk -obj/config.mk: - @echo "You need to run configure first." && false - -BUILDSYS=$(s)/build - -# We will use the libucw build system -include $(BUILDSYS)/Maketop - -CONFIG_SRC_DIR=etc - -# Install the build system -include $(BUILDSYS)/Makefile - -# Set up names of common libraries (to avoid forward references in rules) -ifdef CONFIG_CHARSET -LIBCHARSET=$(o)/charset/libcharset.pc -endif -ifdef CONFIG_SHERLOCK_LIB -LIBSH=$(o)/sherlock/libsh.pc -LIBSHXML=$(o)/sherlock/xml/libshxml.pc -TESTING_DEPS=$(LIBSH) -else -TESTING_DEPS=$(LIBUCW) -endif - -# The UCW library -include $(s)/ucw/Makefile - -# Install config files -ifdef CONFIG_SHERLOCK_LIB -FREE_CONFIGS=sherlock local -CONFIGS+=$(FREE_CONFIGS) - -INSTALL_TARGETS+=install-configs -install-configs: - install -d -m 755 $(DESTDIR)$(INSTALL_CONFIG_DIR) - install -m 644 $(addprefix run/$(CONFIG_DIR)/,$(FREE_CONFIGS)) $(DESTDIR)$(INSTALL_CONFIG_DIR) -endif - -# Include submakefiles of requested libraries -ifdef CONFIG_SHERLOCK_LIB -include $(s)/sherlock/Makefile -endif - -ifdef CONFIG_CHARSET -include $(s)/charset/Makefile -endif - -ifdef CONFIG_LANG -LIBLANG=$(o)/lang/liblang.pc -include $(s)/lang/Makefile -endif - -ifdef CONFIG_IMAGES -LIBIMAGES=$(o)/images/libimages.pc -include $(s)/images/Makefile -endif - -# Build documentation by default? -ifdef CONFIG_DOC -all: docs -endif - -libs: $(LIBUCW) $(LIBSH) $(LIBIMAGES) $(LIBCHARSET) $(LIBLANG) - -# And finally the default rules of the build system -include $(BUILDSYS)/Makebottom - -ifndef CONFIG_LOCAL -install: all $(INSTALL_TARGETS) -else -install: - @echo "Nothing to install, this is a local build." && false -endif -.PHONY: install diff --git a/free/libs/README b/free/libs/README deleted file mode 100644 index 4bc91c89..00000000 --- a/free/libs/README +++ /dev/null @@ -1,19 +0,0 @@ -Sherlock Holmes Libraries 4.0 -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -(c) 1997--2009 Martin Mares -(c) 2000--2009 Robert Spalek -(c) 2006--2009 Pavel Charvat -(c) 2008--2009 Michal Vaner -(c) 2008 Tomas Gavenciak - -This package contains all libraries from the freely distributable version -of the Sherlock Holmes search engine (see http://www.ucw.cz/holmes/). - -See doc/using-libs for description of the libraries. - -See doc/install.html for build requirements and instructions. - -See doc/configure.html if you want to tweak build options. - -After you compile the library, you can issue `make docs' to build the API -documentation. It will appear in run/doc. (It is not complete yet, though.) diff --git a/free/libs/configure b/free/libs/configure deleted file mode 100755 index db17e900..00000000 --- a/free/libs/configure +++ /dev/null @@ -1,35 +0,0 @@ -#!/usr/bin/perl -# Configure Script for Stand-Alone Sherlock Libraries -# (c) 2007 Martin Mares - -use warnings; -use strict; - -our $srcdir; -BEGIN { - my $pkgfile = "ucw/wildmatch.c"; - if (!defined ($srcdir = $ENV{"SRCDIR"})) { - if (-f $pkgfile) { - $srcdir="."; - } elsif ($0 =~ m@^(.*)/configure$@ && -f "$1/$pkgfile") { - $srcdir=$1; - } else { - die "Don't know how to find myself. Please set SRCDIR manually.\n"; - } - } -} - -use lib "$srcdir/ucw/perl/"; -use UCW::Configure; - -Init($srcdir, "default.cfg"); -Include "ucw/default.cfg"; -Log "### Configuring Sherlock Libraries " . Get("SHERLOCK_VERSION") . " with configuration " . Get("CONFIG") . "\n"; -Include Get("CONFIG"); -require UCW::Configure::Paths; -require UCW::Configure::C; -require UCW::Configure::LibUCW; -require UCW::Configure::Doc; -Finish(); - -Log "\nConfigured, run `make' to build everything.\n"; diff --git a/free/libs/default.cfg b/free/libs/default.cfg deleted file mode 100644 index 81a4ab12..00000000 --- a/free/libs/default.cfg +++ /dev/null @@ -1,43 +0,0 @@ -# Default configuration of Sherlock libraries (see sherlock/default.cfg for an explanation) - -# Do we want shared or static libraries? -Set("CONFIG_SHARED"); - -# We want the public API -Set("CONFIG_INSTALL_API"); - -# Libucw should support files >2GB and threading -Set("CONFIG_UCW_LARGE_FILES"); -Set("CONFIG_UCW_THREADS" => 1); - -# Libucw extensions -Set("CONFIG_UCW_PERL" => 1); -Set("CONFIG_UCW_PERL_MODULES" => 1); -Set("CONFIG_UCW_SHELL_UTILS" => 1); -Set("CONFIG_UCW_UTILS" => 1); - -if(!IsSet("CONFIG_UCW_ONLY")) { - # Libsh settings - Set("CONFIG_BUCKET_SHIFT" => 6); - Set("CONFIG_SHERLOCK_LIB"); - - if(!IsGiven("CONFIG_CHARSET") || IsSet("CONFIG_CHARSET")) { - # Liblang settings - Set("CONFIG_LIBLANG"); - Set("MAX_WORD_CHARS" => 64); - Set("MAX_WORD_BYTES" => 192); - } - - # Libimages settings - Set("CONFIG_IMAGES"); - Set("CONFIG_IMAGES_LIBJPEG"); - Set("CONFIG_IMAGES_LIBPNG"); - Set("CONFIG_IMAGES_LIBUNGIF"); - UnSet("CONFIG_IMAGES_LIBGIF"); - UnSet("CONFIG_IMAGES_LIBMAGICK"); - - Set("CONFIG_CHARSET"); -} - -# Return success -1; diff --git a/free/libucw/Makefile b/free/libucw/Makefile deleted file mode 100644 index 627cf9c6..00000000 --- a/free/libucw/Makefile +++ /dev/null @@ -1,40 +0,0 @@ -# Makefile for the stand-alone release of libucw -# (c) 2008 Martin Mares - -# The default target -all: runtree libs api programs extras configs - -# Include configuration -s=. --include obj/config.mk -obj/config.mk: - @echo "You need to run configure first." && false - -BUILDSYS=$(s)/build - -# We will use the libucw build system -include $(BUILDSYS)/Maketop - -# Install the build system -include $(BUILDSYS)/Makefile - -# The UCW library -include $(s)/ucw/Makefile - -# Build documentation by default? -ifdef CONFIG_DOC -all: docs -endif - -libs: $(LIBUCW) - -# And finally the default rules of the build system -include $(BUILDSYS)/Makebottom - -ifndef CONFIG_LOCAL -install: all $(INSTALL_TARGETS) -else -install: - @echo "Nothing to install, this is a local build." && false -endif -.PHONY: install diff --git a/free/libucw/README b/free/libucw/README deleted file mode 100644 index c2acf088..00000000 --- a/free/libucw/README +++ /dev/null @@ -1,16 +0,0 @@ -The UCW Library 4.0 -~~~~~~~~~~~~~~~~~~~ -(c) 1997--2008 Martin Mares -(c) 2000--2008 Robert Spalek -(c) 2006--2008 Pavel Charvat -(c) 2008--2009 Michal Vaner -(c) 2008 Tomas Gavenciak - -See doc/using-libs for description of the library. - -See doc/install.html for build requirements and instructions. - -See doc/configure.html if you want to tweak build options. - -After you compile the library, you can issue `make docs' to build the API -documentation. It will appear in run/doc. (It is not complete yet, though.) diff --git a/free/libucw/configure b/free/libucw/configure deleted file mode 100755 index 4f3303db..00000000 --- a/free/libucw/configure +++ /dev/null @@ -1,35 +0,0 @@ -#!/usr/bin/perl -# Configure Script for Stand-Alone LibUCW -# (c) 2008 Martin Mares - -use warnings; -use strict; - -our $srcdir; -BEGIN { - my $pkgfile = "ucw/wildmatch.c"; - if (!defined ($srcdir = $ENV{"SRCDIR"})) { - if (-f $pkgfile) { - $srcdir="."; - } elsif ($0 =~ m@^(.*)/configure$@ && -f "$1/$pkgfile") { - $srcdir=$1; - } else { - die "Don't know how to find myself. Please set SRCDIR manually.\n"; - } - } -} - -use lib "$srcdir/ucw/perl/"; -use UCW::Configure; - -Init($srcdir, "default.cfg"); -Include "ucw/default.cfg"; -Log "### Configuring LibUCW " . Get("SHERLOCK_VERSION") . " with configuration " . Get("CONFIG") . "\n"; -Include Get("CONFIG"); -require UCW::Configure::Paths; -require UCW::Configure::C; -require UCW::Configure::LibUCW; -require UCW::Configure::Doc; -Finish(); - -Log "\nConfigured, run `make' to build everything.\n"; diff --git a/free/libucw/default.cfg b/free/libucw/default.cfg deleted file mode 100644 index 17588251..00000000 --- a/free/libucw/default.cfg +++ /dev/null @@ -1,20 +0,0 @@ -# Default configuration of LibUCW (see ucw/default.cfg for an explanation) - -# Do we want shared or static libraries? -Set("CONFIG_SHARED"); - -# We want the public API -Set("CONFIG_INSTALL_API"); - -# Libucw should support files >2GB and threading -Set("CONFIG_UCW_LARGE_FILES"); -Set("CONFIG_UCW_THREADS" => 1); - -# Libucw extensions -Set("CONFIG_UCW_PERL" => 1); -Set("CONFIG_UCW_PERL_MODULES" => 1); -Set("CONFIG_UCW_SHELL_UTILS" => 1); -Set("CONFIG_UCW_UTILS" => 1); - -# Return success -1; -- 2.39.2