# Copyright (C) 1994-1999, Index Data
# All rights reserved.
-# Sebastian Hammer, Adam Dickmeiss
-# $Id: Makefile.in,v 1.9 1999-12-01 19:11:42 adam Exp $
+# $Id: Makefile.in,v 1.10 1999-12-11 21:39:35 adam Exp $
SHELL=/bin/sh
MAKE=make
# Misc tables, etc.
ZEBRADIR=$(prefix)/lib/@PROGPREFIX@
ZEBRATAB=$(prefix)/lib/@PROGPREFIX@/tab
+ZEBRADOC=$(prefix)/lib/@PROGPREFIX@/doc
SUBDIR=@SUBDIR@
if sed '/^#Depend/q' <Makefile >Makefile.tmp; then \
mv -f Makefile.tmp Makefile; fi; rm -f .depend); done
-install:
+install: all
$(INSTALL) -d $(BUILD)$(BINDIR)
$(INSTALL_PROGRAM) bin/@PROGPREFIX@idx $(BUILD)$(BINDIR)
$(INSTALL_PROGRAM) bin/@PROGPREFIX@srv $(BUILD)$(BINDIR)
$(INSTALL_DATA) $$f $(BUILD)$(ZEBRATAB); \
fi; \
done
+ $(INSTALL) -d $(BUILD)$(ZEBRADOC)
+ @cd doc; for f in *; do \
+ if [ -f $$f ]; then \
+ $(INSTALL_DATA) $$f $(BUILD)$(ZEBRADOC); \
+ fi; \
+ done
wc:
wc `find . -name '*.[ch]'`
Name: zebra
Version: 1.0
Release: 1
-Copyright: commercial
-Group: Development/Libraries
+Copyright: distributable
+Group: Applications/Internet
Vendor: Index Data ApS <info@indexdata.dk>
Url: http://www.indexdata.dk/zebra/
Source: zebra-1.0.tar.gz
-Requires: yaz
-BuildRequires: yaz
BuildRoot: /var/tmp/%{name}-%{version}-root
Packager: Adam Dickmeiss <adam@indexdata.dk>
%files
%defattr(-,root,root)
-%doc README LICENSE.2 CHANGELOG
+%doc README LICENSE.zebra CHANGELOG
%config /usr/lib/zebra/tab
/usr/bin/zebraidx
/usr/bin/zebrasrv