projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
0785b8c
)
Fix test for index.html in dist/install hook
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 7 Sep 2006 10:02:29 +0000
(10:02 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 7 Sep 2006 10:02:29 +0000
(10:02 +0000)
doc/Makefile.am
patch
|
blob
|
history
diff --git
a/doc/Makefile.am
b/doc/Makefile.am
index
e79db22
..
13cb161
100644
(file)
--- a/
doc/Makefile.am
+++ b/
doc/Makefile.am
@@
-1,4
+1,4
@@
-## $Id: Makefile.am,v 1.60 2006-09-05 12:01:31 adam Exp $
+## $Id: Makefile.am,v 1.61 2006-09-07 10:02:29 adam Exp $
docdir=$(datadir)/doc/$(PACKAGE)$(PACKAGE_SUFFIX)
SUBDIRS = common
docdir=$(datadir)/doc/$(PACKAGE)$(PACKAGE_SUFFIX)
SUBDIRS = common
@@
-91,7
+91,7
@@
clean-data-hook:
rm -f [0-9]* *.bak
dist-hook:
rm -f [0-9]* *.bak
dist-hook:
- if test -d index.html; then d=.; else d="$(srcdir)"; fi; \
+ if test -f index.html; then d=.; else d="$(srcdir)"; fi; \
for p in $$d/*.html; do \
cp $$p $(distdir); \
done
for p in $$d/*.html; do \
cp $$p $(distdir); \
done
@@
-100,7
+100,7
@@
install-data-hook:
cd $(DESTDIR)$(man1dir) && ln -sf zebraidx$(PACKAGE_SUFFIX).1 zebraidx.1
cd $(DESTDIR)$(man8dir) && ln -sf zebrasrv$(PACKAGE_SUFFIX).8 zebrasrv.8
cd $(DESTDIR)$(man1dir) && ln -sf idzebra-config$(PACKAGE_SUFFIX).1 idzebra-config.1
cd $(DESTDIR)$(man1dir) && ln -sf zebraidx$(PACKAGE_SUFFIX).1 zebraidx.1
cd $(DESTDIR)$(man8dir) && ln -sf zebrasrv$(PACKAGE_SUFFIX).8 zebrasrv.8
cd $(DESTDIR)$(man1dir) && ln -sf idzebra-config$(PACKAGE_SUFFIX).1 idzebra-config.1
- if test -d index.html; then d=.; else d="$(srcdir)"; fi; \
+ if test -f index.html; then d=.; else d="$(srcdir)"; fi; \
for p in $$d/*.html; do \
$(docDATA_INSTALL) $$p $(DESTDIR)/$(docdir); \
done
for p in $$d/*.html; do \
$(docDATA_INSTALL) $$p $(DESTDIR)/$(docdir); \
done