diff options
author | Memphiz <memphis@machzwo.de> | 2014-08-19 00:48:48 +0200 |
---|---|---|
committer | Memphiz <memphis@machzwo.de> | 2014-08-19 00:48:48 +0200 |
commit | 0136c283cda5bee1bba2f87dd5c0ca097fbcdfcc (patch) | |
tree | 6bc15e93d83722febf59282cdf0ac408deb20c3d | |
parent | 879b95349a87dfd5abdf22fd866dbd7b1f9aca5b (diff) |
[Make] - don't install .git directories
-rw-r--r-- | Makefile.in | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile.in b/Makefile.in index 433d5baa66..27a9de0f37 100644 --- a/Makefile.in +++ b/Makefile.in @@ -574,7 +574,7 @@ ifeq (@USE_PVR_ADDONS@,1) $(MAKE) -C pvr-addons install endif ifeq ($(findstring freebsd,@ARCH@), freebsd) - @find -E system addons -type f -not -iregex ".*svn.*" \ + @find -E system addons -type f -not -iregex ".*\.git.*" \ -iregex ".*@ARCH@.*|.*\.vis|.*\.xbs" \ -exec sh -c "install -d \"$(DESTDIR)$(libdir)/xbmc/\`dirname '{}'\`\"" \; \ -and \ @@ -582,14 +582,14 @@ ifeq ($(findstring freebsd,@ARCH@), freebsd) -exec printf " -- %-75.75s\r" "{}" \; else ifeq ($(findstring Darwin,$(shell uname -s)),Darwin) - @find -E system addons -type f -not -iregex ".*svn.*" \ + @find -E system addons -type f -not -iregex ".*\.git.*" \ -iregex ".*@ARCH@.*|.*\.vis|.*\.xbs" \ -exec sh -c "install -d \"$(DESTDIR)$(libdir)/xbmc/\`dirname '{}'\`\"" \; \ -and \ -exec install "{}" $(DESTDIR)$(libdir)/xbmc/"{}" \; \ -exec printf " -- %-75.75s\r" "{}" \; else - @find system addons -regextype posix-extended -type f -not -iregex ".*svn.*" -iregex ".*\.so|.*\.vis|.*\.xbs|.*\.pvr" -exec install -D "{}" $(DESTDIR)$(libdir)/xbmc/"{}" \; -printf " -- %-75.75f\r" + @find system addons -regextype posix-extended -type f -not -iregex ".*\.git.*" -iregex ".*\.so|.*\.vis|.*\.xbs|.*\.pvr" -exec install -D "{}" $(DESTDIR)$(libdir)/xbmc/"{}" \; -printf " -- %-75.75f\r" endif endif @@ -614,7 +614,7 @@ install-datas: install-scripts @# Arch independent files ifeq ($(findstring bsd,@ARCH@), bsd) @find -E addons language media sounds userdata system -type f \ - -not -iregex ".*@ARCH@.*|.*\.vis|.*\.xbs|.*svn.*|.*\.so|.*\.dll|$(subst ${space},|,$(INSTALL_FILTER))" \ + -not -iregex ".*@ARCH@.*|.*\.vis|.*\.xbs|.*\.git.*|.*\.so|.*\.dll|$(subst ${space},|,$(INSTALL_FILTER))" \ -exec sh -c "install -d \"$(DESTDIR)$(datarootdir)/xbmc/\`dirname '{}'\`\"" \; \ -and \ -exec install -m 0644 "{}" $(DESTDIR)$(datarootdir)/xbmc/"{}" \; \ @@ -622,13 +622,13 @@ ifeq ($(findstring bsd,@ARCH@), bsd) else ifeq ($(findstring Darwin,$(shell uname -s)),Darwin) @find -E addons language media sounds userdata system -type f \ - -not -iregex ".*@ARCH@.*|.*\.vis|.*\.xbs|.*svn.*|.*\.so|.*\.dll|$(subst ${space},|,$(INSTALL_FILTER))" \ + -not -iregex ".*@ARCH@.*|.*\.vis|.*\.xbs|.*\.git.*|.*\.so|.*\.dll|$(subst ${space},|,$(INSTALL_FILTER))" \ -exec sh -c "install -d \"$(DESTDIR)$(datarootdir)/xbmc/\`dirname '{}'\`\"" \; \ -and \ -exec install -m 0644 "{}" $(DESTDIR)$(datarootdir)/xbmc/"{}" \; \ -exec printf " -- %-75.75s\r" "{}" \; else - @find addons language media sounds userdata system -regextype posix-extended -type f -not -iregex ".*@ARCH@.*|.*\.vis|.*\.xbs|.*svn.*|.*\.so|.*\.dll|.*\.pvr|$(subst ${space},|,$(INSTALL_FILTER))" -exec install -D -m 0644 "{}" $(DESTDIR)$(datarootdir)/xbmc/"{}" \; -printf " -- %-75.75f\r" + @find addons language media sounds userdata system -regextype posix-extended -type f -not -iregex ".*@ARCH@.*|.*\.vis|.*\.xbs|.*\.git.*|.*\.so|.*\.dll|.*\.pvr|$(subst ${space},|,$(INSTALL_FILTER))" -exec install -D -m 0644 "{}" $(DESTDIR)$(datarootdir)/xbmc/"{}" \; -printf " -- %-75.75f\r" endif endif @# Icons and links |