Fix 'make dist' due to RPM files being moved
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 28 Apr 2011 10:42:05 +0000 (12:42 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 28 Apr 2011 10:42:05 +0000 (12:42 +0200)
Makefile.am
src/Makefile.am

index a485e2b..85fbc8b 100644 (file)
@@ -13,6 +13,8 @@ dist-hook:
        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:
index c956188..bc9be7b 100644 (file)
@@ -3,8 +3,6 @@
 sbin_PROGRAMS = pazpar2
 noinst_PROGRAMS = pazpar2_play
 
-EXTRA_DIST = pazpar2.rpm.init pazpar2.rpm.logrotate
-
 check_PROGRAMS = \
       test_sel_thread \
       test_normalize