summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2012-03-16 09:26:05 -0400
committerKristian Høgsberg <krh@bitplanet.net>2012-03-16 09:26:05 -0400
commitccb78667b9a205fe1804c6b43bf3222b2da52501 (patch)
tree5455f2031d626dabdafdd26c5c584a584b6a078e
parent73d4a53672c66fb2ad9576545a5aae3bad2483ed (diff)
doc: Don't list directories in list of files to install
The find expression was listing the xml_tmp directory, because it matched the -prune rule.
-rw-r--r--doc/Wayland/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/Wayland/Makefile.am b/doc/Wayland/Makefile.am
index 5c53ff0..bc50e9e 100644
--- a/doc/Wayland/Makefile.am
+++ b/doc/Wayland/Makefile.am
@@ -51,7 +51,7 @@ install-data-local:
test -z "$(pubdir)/xml/Common_Content/css" || $(mkdir_p) "$(DESTDIR)$(pubdir)/xml/Common_Content/css"
test -z "$(pubdir)/xml/Common_Content/images" || $(mkdir_p) "$(DESTDIR)$(pubdir)/xml/Common_Content/images"
test -z "$(pubdir)/xml/images" || $(mkdir_p) "$(DESTDIR)$(pubdir)/xml/images"
- list=`find $(builddir)/Wayland/en-US -path './Wayland/en-US/xml_tmp' -prune -o -type f`; \
+ list=`find $(builddir)/Wayland/en-US -type f -not -path '$(builddir)/Wayland/en-US/xml_tmp*'`; \
for p in $$list; do \
echo " $(INSTALL_DATA) '$$p' '$(DESTDIR)$(docdir)/$$p'"; \
$(INSTALL_DATA) "$$p" "$(DESTDIR)$(docdir)/$$p"; \