use install command
This commit is contained in:
parent
7f74446eb9
commit
1b3d60ea88
@ -37,19 +37,19 @@ all: all_subdirs
|
|||||||
install: installdirs installfiles
|
install: installdirs installfiles
|
||||||
|
|
||||||
installdirs:
|
installdirs:
|
||||||
-mkdir $(DIR755) $(DIR1777)
|
# -mkdir $(DIR755) $(DIR1777)
|
||||||
-chown $(OWNER) $(DIR755) $(DIR1777)
|
# -chown $(OWNER) $(DIR755) $(DIR1777)
|
||||||
-chgrp $(GROUP) $(DIR755) $(DIR1777)
|
# -chgrp $(GROUP) $(DIR755) $(DIR1777)
|
||||||
-chmod 755 $(DIR755)
|
# -chmod 755 $(DIR755)
|
||||||
-chmod 1777 $(DIR1777)
|
# -chmod 1777 $(DIR1777)
|
||||||
|
|
||||||
# alternative version of above if you have a good version of (INSTALL) available:
|
# alternative version of above if you have a good version of (INSTALL) available:
|
||||||
#-for i in $(DIR755) ; \
|
-for i in $(DIR755) ; \
|
||||||
# do $(INSTALL) -d -o $(OWNER) -g $(GROUP) -m 755 $$i ;\
|
do $(INSTALL) -d -o $(OWNER) -g $(GROUP) -m 755 $$i ;\
|
||||||
# done
|
done
|
||||||
#-for i in $(DIR1777) ; \
|
-for i in $(DIR1777) ; \
|
||||||
# do $(INSTALL) -d -o $(OWNER) -g $(GROUP) -m 1777 $$i ;\
|
do $(INSTALL) -d -o $(OWNER) -g $(GROUP) -m 1777 $$i ;\
|
||||||
# done
|
done
|
||||||
|
|
||||||
installfiles:
|
installfiles:
|
||||||
-for i in $(BINSUBDIRS); do \
|
-for i in $(BINSUBDIRS); do \
|
||||||
|
Loading…
Reference in New Issue
Block a user