fixing lintian bragging about repeated debian names in first line of description.
[metaproxy-moved-to-github.git] / Makefile.am
index 82b329d..9f9c0d5 100644 (file)
@@ -1,14 +1,16 @@
 ## This file is part of Metaproxy
-## Copyright (C) 2005-2006, Index Data ApS
-## $Id: Makefile.am,v 1.16 2006-09-29 08:57:15 marc Exp $
+## Copyright (C) 2005-2007, Index Data ApS
+## $Id: Makefile.am,v 1.25 2008-02-14 14:25:41 marc Exp $
 
-SUBDIRS = src doc etc
+SUBDIRS = xml src etc doc
 
 ACLOCAL_AMFLAGS = -I m4
 
 AUTOMAKE_OPTIONS = foreign
 
-EXTRA_DIST = Doxyfile.in NEWS README LICENSE m4/yazpp.m4 m4/yaz.m4 buildconf.sh
+EXTRA_DIST = Doxyfile.in NEWS README LICENSE \
+             m4/yazpp.m4 m4/yaz.m4 m4/ax_boost.m4 \
+             buildconf.sh
 
 MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure 
 
@@ -16,25 +18,21 @@ dist-hook:
        if test -x /usr/bin/cvs2cl -a -d CVS; then cvs2cl ; fi
        mkdir $(distdir)/win
        -cp $(srcdir)/win/* $(distdir)/win
+       mkdir $(distdir)/debian
+       cp $(srcdir)/debian/control $(distdir)/debian
+       cp $(srcdir)/debian/copyright $(distdir)/debian
+       cp $(srcdir)/debian/changelog $(distdir)/debian
+       cp $(srcdir)/debian/rules $(distdir)/debian
+       cp $(srcdir)/debian/*.install $(distdir)/debian
+
+#cp $(srcdir)/debian/*.manpages $(distdir)/debian
+#cp $(srcdir)/debian/*.postinst $(distdir)/debian
+
 
-# doxygen target
 .PHONY:dox
 dox:
        doxygen
 
-.PHONY:firefox
-firefox:
-       firefox  -new-window file://`pwd`/dox/html/index.html &
-
-.PHONY:konqueror
-konqueror:
-       konqueror file://`pwd`/dox/html/index.html &
-
-.PHONY:galeon
-galeon:
-       galeon file://`pwd`/dox/html/index.html &
-
-.PHONY:ephiphany
-ephiphany:
-       ephiphany file://`pwd`/dox/html/index.html &
-
+.PHONY:debian
+debian:
+       dpkg-buildpackage -rfakeroot