Have most etc files part of dist
[metaproxy-moved-to-github.git] / Makefile.am
index 6ea48bf..56cc247 100644 (file)
@@ -1,11 +1,26 @@
-##AUTOMAKE_OPTIONS = foreign
+## This file is part of Metaproxy
+## Copyright (C) 2005-2006, Index Data ApS
+## $Id: Makefile.am,v 1.13 2006-04-27 17:01:00 adam Exp $
 
-SUBDIRS = src 
+SUBDIRS = src doc etc
 
-EXTRA_DIST= m4/yazpp.m4 m4/yaz.m4  buildconf.sh
+ACLOCAL_AMFLAGS = -I m4
 
-MAINTAINERCLEANFILES    = Makefile.in aclocal.m4 configure 
+AUTOMAKE_OPTIONS = foreign
+
+EXTRA_DIST = Doxyfile.in NEWS README m4/yazpp.m4 m4/yaz.m4 buildconf.sh
+
+MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure 
+
+dist-hook:
+       mkdir $(distdir)/win
+       -cp $(srcdir)/win/* $(distdir)/win
 
 # doxygen target
+.PHONY:dox
 dox:
        doxygen
+
+.PHONY:showdox
+showdox:
+       firefox file://`pwd`/dox/html/index.html &