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
tweaking OAI-PMH example to install correctly both in tarball and Debian install
[idzebra-moved-to-github.git]
/
Makefile.am
diff --git
a/Makefile.am
b/Makefile.am
index
706f3d7
..
de84952
100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-1,15
+1,22
@@
-## $Id: Makefile.am,v 1.12 2003-02-28 12:33:38 oleg Exp $
+## $Id: Makefile.am,v 1.31 2007-03-20 22:42:19 adam Exp $
AUTOMAKE_OPTIONS=foreign
AUTOMAKE_OPTIONS=foreign
-SUBDIRS=util bfile dfa dict isams isamb isamc isam rset data1 \
- recctrl tab index test examples include doc
+ACLOCAL_AMFLAGS = -I m4
-SPEC_FILE=$(PACKAGE).spec
+SUBDIRS=util bfile dfa dict isams isamb isamc rset data1 \
+ tab index test examples include doc
-EXTRA_DIST= README CHANGELOG $(SPEC_FILE) idzebra.spec.in
+aclocaldir=$(datadir)/aclocal
+aclocal_DATA = m4/idzebra-2.0.m4
+
+SPEC_FILE=idzebra.spec
+
+EXTRA_DIST= README NEWS $(SPEC_FILE) $(SPEC_FILE).in \
+ idzebra-config-2.0.in m4/idzebra-2.0.m4 m4/yaz.m4 buildconf.sh Doxyfile.in
dist-hook:
dist-hook:
+ if test -x /usr/bin/cvs2cl -a -d CVS; then cvs2cl ; cp ChangeLog $(distdir); fi
cp $(srcdir)/LICENSE* $(distdir)
mkdir $(distdir)/win
for i in $(srcdir)/win/*; do \
cp $(srcdir)/LICENSE* $(distdir)
mkdir $(distdir)/win
for i in $(srcdir)/win/*; do \
@@
-18,17
+25,26
@@
dist-hook:
fi; \
done
mkdir $(distdir)/debian
fi; \
done
mkdir $(distdir)/debian
- cp $(srcdir)/debian/control $(distdir)/debian
+ cp $(srcdir)/debian/*.install $(distdir)/debian
+ cp $(srcdir)/debian/*.manpages $(distdir)/debian
+ cp $(srcdir)/debian/*.postinst $(distdir)/debian
+ cp $(srcdir)/debian/*.prerm $(distdir)/debian
cp $(srcdir)/debian/changelog $(distdir)/debian
cp $(srcdir)/debian/changelog $(distdir)/debian
- cp $(srcdir)/debian/rules $(distdir)/debian
- cp $(srcdir)/debian/postinst $(distdir)/debian
+ cp $(srcdir)/debian/compat $(distdir)/debian
+ cp $(srcdir)/debian/control $(distdir)/debian
cp $(srcdir)/debian/copyright $(distdir)/debian
cp $(srcdir)/debian/copyright $(distdir)/debian
- mkdir -p $(distdir)/perl
- for f in `cat $(srcdir)/perl/MANIFEST`; do \
- (pdir=`cd $(distdir)/perl && pwd`; \
- cd $(srcdir)/perl;cp --parents $$f $$pdir); \
- done
+ cp $(srcdir)/debian/rules $(distdir)/debian
+
+cvs2cl:
+ cvs2cl
+
+
+dox:
+ doxygen
+
+showdox:
+ doxygen
+ firefox -new-window file:///`pwd`/$(top_srcdir)/dox/html/index.html &
+
-rpm: $(PACKAGE)-$(VERSION).tar.gz
- cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/redhat/SOURCES
- rpm -ba $(SPEC_FILE)
+.PHONY: cvs2cl dox showdox