Javascript util js/pz2.js part of dist. This is installed in
[pazpar2-moved-to-github.git] / Makefile.am
index 14c1e6c..987142d 100644 (file)
@@ -1,9 +1,9 @@
-# $Id: Makefile.am,v 1.8 2007-05-15 15:50:47 adam Exp $
+# $Id: Makefile.am,v 1.11 2007-06-17 18:24:02 adam Exp $
 
 AUTOMAKE_OPTIONS = foreign
 ACLOCAL_AMFLAGS = -I m4
 
-SUBDIRS = src test doc
+SUBDIRS = src test js doc
 
 EXTRA_DIST = README NEWS LICENSE buildconf.sh Doxyfile.in m4/yaz.m4 
 
@@ -13,7 +13,10 @@ dist-hook:
        cvs=`find $(distdir)/etc -name CVS -type d -print`; if test "$$cvs"; then rm -r $$cvs; fi
        cp -r $(srcdir)/www $(distdir)
        cvs=`find $(distdir)/www -name CVS -type d -print`; if test "$$cvs"; then rm -r $$cvs; fi
-
+       mkdir $(distdir)/debian
+       for f in $(srcdir)/debian/*; do \
+               test -f $$f && cp $$f $(distdir)/debian; \
+       done; exit 0
 
 cvs2cl:
        cvs2cl