summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@opencompositing.org>2008-04-03 02:00:30 +0200
committerDennis kasprzyk <onestone@opencompositing.org>2008-04-03 02:00:30 +0200
commit29916a025e48e5526bd6820aaf901f5acf028a1e (patch)
tree0d0bdaaf4e835c242b35a760017b8385517dd1f5
parent77cb245db68fc2713e9b76709430c7f1c50343f8 (diff)
downloadbicubic-29916a025e48e5526bd6820aaf901f5acf028a1e.tar.gz
bicubic-29916a025e48e5526bd6820aaf901f5acf028a1e.tar.bz2
Makefile update.
-rw-r--r--Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 7593fdf..d9a07cf 100644
--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,6 @@
# CHK_HEADERS = compiz-cube.h
#
-
#load config file
ECHO = `which echo`
@@ -373,7 +372,7 @@ install: $(DESTDIR) all
$(ECHO) "install : $(XMLDIR)/$(PLUGIN).xml"; \
fi; \
mkdir -p $(XMLDIR); \
- cp $(BUILDDIR)/$(PLUGIN).xml $(XMLDIR)/$(PLUGIN).xml; \
+ $(INSTALL) $(BUILDDIR)/$(PLUGIN).xml $(XMLDIR)/$(PLUGIN).xml; \
if [ '$(color)' != 'no' ]; then \
$(ECHO) -e "\r\033[0minstall : \033[34m$(XMLDIR)/$(PLUGIN).xml\033[0m"; \
fi; \
@@ -384,7 +383,7 @@ install: $(DESTDIR) all
else \
$(ECHO) "install : $(CINCDIR)/compiz/$(hdr-install-target)"; \
fi; \
- cp $(hdr-install-target) $(CINCDIR)/compiz/$(hdr-install-target); \
+ $(INSTALL) --mode=u=rw,go=r,a-s $(hdr-install-target) $(CINCDIR)/compiz/$(hdr-install-target); \
if [ '$(color)' != 'no' ]; then \
$(ECHO) -e "\r\033[0minstall : \033[34m$(CINCDIR)/compiz/$(hdr-install-target)\033[0m"; \
fi; \
@@ -395,7 +394,7 @@ install: $(DESTDIR) all
else \
$(ECHO) "install : $(PKGDIR)/compiz-$(PLUGIN).pc"; \
fi; \
- cp $(pkg-target) $(PKGDIR)/compiz-$(PLUGIN).pc; \
+ $(INSTALL) --mode=u=rw,go=r,a-s $(pkg-target) $(PKGDIR)/compiz-$(PLUGIN).pc; \
if [ '$(color)' != 'no' ]; then \
$(ECHO) -e "\r\033[0minstall : \033[34m$(PKGDIR)/compiz-$(PLUGIN).pc\033[0m"; \
fi; \
@@ -426,7 +425,7 @@ install: $(DESTDIR) all
fi; \
FILEDIR="$(DATADIR)/`dirname "$$FILE"`"; \
mkdir -p "$$FILEDIR"; \
- cp data/$$FILE $(DATADIR)/$$FILE; \
+ $(INSTALL) --mode=u=rw,go=r,a-s data/$$FILE $(DATADIR)/$$FILE; \
if [ '$(color)' != 'no' ]; then \
$(ECHO) -e "\r\033[0minstall : \033[34m$(DATADIR)/$$FILE\033[0m"; \
fi; \
@@ -442,7 +441,7 @@ install: $(DESTDIR) all
fi; \
FILEDIR="$(IMAGEDIR)/`dirname "$$FILE"`"; \
mkdir -p "$$FILEDIR"; \
- cp images/$$FILE $(IMAGEDIR)/$$FILE; \
+ $(INSTALL) --mode=u=rw,go=r,a-s images/$$FILE $(IMAGEDIR)/$$FILE; \
if [ '$(color)' != 'no' ]; then \
$(ECHO) -e "\r\033[0minstall : \033[34m$(IMAGEDIR)/$$FILE\033[0m"; \
fi; \