X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=Makefile.am;h=21ba971af50bcc258462d8bc3ebf6030c97b853f;hb=401d3364f84085a8b665a78aad7864fe5eabe095;hp=832d9070b5f9e3934dd7e010ebad4f4105e7445d;hpb=3a4c4cf2b436623060e1fb033b8f7cbf6b7c4d19;p=pazpar2-moved-to-github.git diff --git a/Makefile.am b/Makefile.am index 832d907..21ba971 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,4 @@ -# $Id: Makefile.am,v 1.12 2007-06-20 06:58:50 adam Exp $ +# $Id: Makefile.am,v 1.15 2007-07-27 09:07:49 marc Exp $ AUTOMAKE_OPTIONS = foreign ACLOCAL_AMFLAGS = -I m4 @@ -9,16 +9,11 @@ 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 - cp -r $(srcdir)/etc $(distdir) - cvs=`find $(distdir)/etc -name CVS -type d -print`; if test "$$cvs"; then rm -r $$cvs; fi - mkdir $(distdir)/www - mkdir $(distdir)/www/test1 - for f in $(srcdir)/www/test1/*; do \ - test -f $$f && cp $$f $(distdir)/www/test1; \ - done; exit 0 - mkdir $(distdir)/debian - for f in $(srcdir)/debian/*; do \ - test -f $$f && cp $$f $(distdir)/debian; \ + for d in etc etc/settings www/test1 www/jsdemo debian; do \ + mkdir -p $(distdir)/$$d; \ + for f in $(srcdir)/$$d/*; do \ + test -f $$f && cp $$f $(distdir)/$$d; \ + done; \ done; exit 0 cvs2cl: @@ -32,4 +27,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