diff --git a/Makefile.in b/Makefile.in index 1a61a6b367..0bb476cd21 100644 --- a/Makefile.in +++ b/Makefile.in @@ -27753,7 +27753,7 @@ SAMPLES_DIST: ALL_GUI_DIST t="$(DISTDIR)/samples/`echo $$s | sed 's@$(SAMPDIR)/@@'`"; \ mkdir -p $$t; \ $(CP_P) $$s/Makefile.in \ - `find $$s -name 'makefile.*' -o -name descrip.mms -o \ + `find $$s -maxdepth 1 -name 'makefile.*' -o -name descrip.mms -o \ -name '*.cpp' -o -name '*.h' -o \ -name '*.bmp' -o -name '*.ico' -o -name '*.png' -o \ -name '*.rc' -o -name '*.xpm'` $$t; \ diff --git a/build/bakefiles/make_dist.mk b/build/bakefiles/make_dist.mk index 9ebe34dfcc..42e87e453f 100644 --- a/build/bakefiles/make_dist.mk +++ b/build/bakefiles/make_dist.mk @@ -522,7 +522,7 @@ SAMPLES_DIST: ALL_GUI_DIST t="$(DISTDIR)/samples/`echo $$s | sed 's@$(SAMPDIR)/@@'`"; \ mkdir -p $$t; \ $(CP_P) $$s/Makefile.in \ - `find $$s -name 'makefile.*' -o -name descrip.mms -o \ + `find $$s -maxdepth 1 -name 'makefile.*' -o -name descrip.mms -o \ -name '*.cpp' -o -name '*.h' -o \ -name '*.bmp' -o -name '*.ico' -o -name '*.png' -o \ -name '*.rc' -o -name '*.xpm'` $$t; \