projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor updates for RPM.
[idzebra-moved-to-github.git]
/
Makefile.in
diff --git
a/Makefile.in
b/Makefile.in
index
5597857
..
46b10eb
100644
(file)
--- a/
Makefile.in
+++ b/
Makefile.in
@@
-1,7
+1,6
@@
# Copyright (C) 1994-1999, Index Data
# All rights reserved.
# Copyright (C) 1994-1999, Index Data
# All rights reserved.
-# Sebastian Hammer, Adam Dickmeiss
-# $Id: Makefile.in,v 1.8 1999-12-01 13:30:30 adam Exp $
+# $Id: Makefile.in,v 1.10 1999-12-11 21:39:35 adam Exp $
SHELL=/bin/sh
MAKE=make
SHELL=/bin/sh
MAKE=make
@@
-37,8
+36,9
@@
BINDIR=$(exec_prefix)/bin
LIBDIR=$(exec_prefix)/lib
INCDIR=$(prefix)/include
# Misc tables, etc.
LIBDIR=$(exec_prefix)/lib
INCDIR=$(prefix)/include
# Misc tables, etc.
-ZEBRADIR=$(prefix)/lib/zebra
-ZEBRATAB=$(prefix)/lib/zebra/tab
+ZEBRADIR=$(prefix)/lib/@PROGPREFIX@
+ZEBRATAB=$(prefix)/lib/@PROGPREFIX@/tab
+ZEBRADOC=$(prefix)/lib/@PROGPREFIX@/doc
SUBDIR=@SUBDIR@
SUBDIR=@SUBDIR@
@@
-63,16
+63,22
@@
cleandepend:
if sed '/^#Depend/q' <Makefile >Makefile.tmp; then \
mv -f Makefile.tmp Makefile; fi; rm -f .depend); done
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) -d $(BUILD)$(BINDIR)
- $(INSTALL_PROGRAM) bin/zebraidx $(BUILD)$(BINDIR)
- $(INSTALL_PROGRAM) bin/zebrasrv $(BUILD)$(BINDIR)
+ $(INSTALL_PROGRAM) bin/@PROGPREFIX@idx $(BUILD)$(BINDIR)
+ $(INSTALL_PROGRAM) bin/@PROGPREFIX@srv $(BUILD)$(BINDIR)
$(INSTALL) -d $(BUILD)$(ZEBRATAB)
@cd tab; for f in *; do \
if [ -f $$f ]; then \
$(INSTALL_DATA) $$f $(BUILD)$(ZEBRATAB); \
fi; \
done
$(INSTALL) -d $(BUILD)$(ZEBRATAB)
@cd tab; for f in *; do \
if [ -f $$f ]; then \
$(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]'`
wc:
wc `find . -name '*.[ch]'`