Pazpar2 compiles on Windows. But does not yet work
[pazpar2-moved-to-github.git] / Makefile.am
index 1da67c6..e0b7382 100644 (file)
@@ -1,5 +1,4 @@
-# $Id: Makefile.am,v 1.14 2007-07-16 12:31:09 adam Exp $
-
+# This file is part of Pazpar2.
 AUTOMAKE_OPTIONS = foreign
 ACLOCAL_AMFLAGS = -I m4
 
@@ -8,7 +7,7 @@ SUBDIRS = src test js doc
 EXTRA_DIST = README NEWS LICENSE buildconf.sh Doxyfile.in m4/yaz.m4 
 
 dist-hook:
-       if test -x /usr/bin/cvs2cl -a -d CVS; then cvs2cl ; cp ChangeLog $(distdir); fi
+       if test -x /usr/bin/git -a -d .git; then git log >ChangeLog ; cp ChangeLog $(distdir); fi
        for d in etc etc/settings www/test1 www/jsdemo debian; do \
                mkdir -p $(distdir)/$$d; \
                for f in $(srcdir)/$$d/*; do \
@@ -27,4 +26,8 @@ showdox:
        doxygen
        galeon file:///`pwd`/$(top_srcdir)/dox/html/index.html &
 
-.PHONY: cvs2cl dox showdox
+debian:
+       dpkg-buildpackage -rfakeroot
+
+
+.PHONY: cvs2cl dox showdox debian