Whamcloud - gitweb
b=23428 Fix lustre built with --enable-lu_ref
[fs/lustre-release.git] / build / autoMakefile.am.toplevel
index b442aef..b5d8898 100644 (file)
@@ -95,7 +95,7 @@ dist-hook:
 
 EXTRA_DIST = @PACKAGE_TARNAME@.spec                                    \
        build/Makefile build/autoMakefile.am.toplevel build/lbuild      \
-       build/Rules.in build/README.kernel-source                       \
+       build/Rules.in                                                  \
        build/update_oldconfig                                          \
        build/autoconf/lustre-build-linux.m4                            \
        build/autoconf/lustre-build-darwin.m4                           \
@@ -156,7 +156,7 @@ debs:
                        desc=$$(cat $$file | sed -e '1,/^$$/d' -e '/^---$$/,$$d'); \
                        dpatch_file=$${file/.patch/.dpatch}; \
                        sed -e '1,/^---$$/d' $$file | \
-                         dpatch patch-template -p "$$file" "$$desc" > \
+                         dpatch patch-template -p "$${file%.patch}" "$$desc" > \
                          $$dpatch_file; \
                        echo "faked by make debs run from git" > \
                          ../patched/$$dpatch_file; \