tazwok diff Makefile @ rev 554

Compatibility fix for $install variable in compile_rules
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Mar 11 19:13:46 2012 +0100 (2012-03-11)
parents 919becf8fe71
children
line diff
     1.1 --- a/Makefile	Thu Feb 24 01:41:30 2011 +0100
     1.2 +++ b/Makefile	Sun Mar 11 19:13:46 2012 +0100
     1.3 @@ -2,17 +2,27 @@
     1.4  #
     1.5  PREFIX?=/usr
     1.6  DOCDIR?=/usr/share/doc
     1.7 +CHSCRIPTS?=/usr/lib/slitaz/chroot-scripts
     1.8 +WWWBB?=/usr/share/slitaz/web-bb
     1.9  
    1.10  all:
    1.11  
    1.12  install:
    1.13  	@echo "Installing Tazwok into $(PREFIX)/bin..."
    1.14 -	install -g root -o root -m 0777 tazwok $(PREFIX)/bin
    1.15 -	install -g root -o root -m 0644 examples/tazwok.conf /etc/slitaz
    1.16 -	install -g root -o root -m 0644 examples/config.site /etc
    1.17 +	install -g root -o root -m 0755 tazwok $(PREFIX)/bin
    1.18 +	install -g root -o root -m 0755 examples/tazwok.conf /etc/slitaz
    1.19 +	install -g root -o root -m 0755 examples/config.site /etc
    1.20 +	install -g root -o root -m 0755 examples/tazbb $(PREFIX)/bin
    1.21  	@echo "Installing documentation files..."
    1.22  	install -g root -o root -m 0755 -d $(DOCDIR)/tazwok
    1.23 -	install -g root -o root -m 0644 doc/* $(DOCDIR)/tazwok
    1.24 +	install -g root -o root -m 0755 doc/* $(DOCDIR)/tazwok
    1.25 +	install -g root -o root -m 0755 applications $(PREFIX)/share
    1.26 +	@echo "Installing Chroot scripts..."
    1.27 +	install -g root -o root -m 0755 -d $(CHSCRIPTS)/tazwok
    1.28 +	install -g root -o root -m 0755 chroot-scripts/* $(CHSCRIPTS)/tazwok
    1.29 +	@echo "Installing web files..."
    1.30 +	install -g root -o root -m 0755 -d $(WWWBB)
    1.31 +	install -g root -o root -m 0755 web/* $(WWWBB)
    1.32  
    1.33  uninstall:
    1.34  	rm -f $(PREFIX)/bin/tazwok