X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=Makefile.am;h=e0a7d79dccddcc998c208450e56f528d7555992d;hb=a59ee0ce86aebff91e46adc1310f0a7699d88845;hp=dafe4e6b98660002cad7db01d54dd80b77598401;hpb=d72a2b4ef9a73d0937e67a74021a253af438521f;p=pazpar2-moved-to-github.git diff --git a/Makefile.am b/Makefile.am index dafe4e6..e0a7d79 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,15 +4,18 @@ ACLOCAL_AMFLAGS = -I m4 SUBDIRS = src test js doc -EXTRA_DIST = README NEWS LICENSE buildconf.sh Doxyfile.in m4/yaz.m4 \ +EXTRA_DIST = $(PACKAGE).spec IDMETA README NEWS LICENSE m4/id-config.sh \ + buildconf.sh Doxyfile.in m4/yaz.m4 \ win/makefile win/version.nsi win/version.nsi.in win/license.txt dist-hook: 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; do \ - mkdir -p $(distdir)/$$d; \ - for f in $(srcdir)/$$d/*; do \ - test -f $$f && cp $$f $(distdir)/$$d; \ - done; \ - done; exit 0 + for d in etc etc/settings etc/services www/test1 www/jsdemo www/iphone; do \ + mkdir -p $(distdir)/$$d; cp -r $$d/* $(distdir)/$$d; \ + done; rm -f $(distdir)/etc/pazpar2.cfg; exit 0 + mkdir $(distdir)/rpm + -cp $(srcdir)/rpm/* $(distdir)/rpm +.PHONY:debian +debian: + dpkg-buildpackage -rfakeroot