Whamcloud - gitweb
LU-11393 osd-zfs: time struct changes
[fs/lustre-release.git] / autoMakefile.am
index d35d6e5..4cddecb 100644 (file)
@@ -294,10 +294,13 @@ debs: undef.h
        m-a build $${KSRC:+-k $$KSRC} $${KVERS:+-l $$KVERS} -i -u $$(pwd) lustre && \
        popd && \
        VER=$$(sed -ne '1s/^lustre (\(.*-[0-9][0-9]*\)).*$$/\1/p' debian/changelog) && \
+       if test "x@ENABLE_SERVER@" = "xyes"; then \
+               DEB_SERVER_PKG="../lustre-resource-agents_$${VER}_*.deb"; \
+       fi; \
        mkdir -p debs && \
        mv ../lustre-dev_$${VER}_*.deb ../lustre-source_$${VER}_all.deb \
           ../lustre-iokit_$${VER}_*.deb ../lustre-tests_$${VER}_*.deb \
-          ../lustre-*-utils_$${VER}_*.deb \
+          ../lustre-*-utils_$${VER}_*.deb $${DEB_SERVER_PKG} \
           ../lustre_$${VER}.dsc ../lustre_$${VER}_*.changes \
           ../lustre_$${VER}.tar.gz ../lustre-*-modules-$${KVERS}_$${VER}_*.deb \
           debs/
@@ -330,9 +333,7 @@ dkms-debs: undef.h
           ../lustre_$${VER}.tar.gz ../lustre-*-modules-dkms_$${VER}_*.deb \
           debs/
 
-if USES_DPKG
 EXTRA_DIST += debian/*
-endif
 
 CSTK=/tmp/checkstack
 CSTKO=/tmp/checkstack.orig