use install command

This commit is contained in:
Mario Fetka 2024-05-27 21:40:27 +02:00
parent 7f74446eb9
commit 1b3d60ea88

View File

@ -37,19 +37,19 @@ all: all_subdirs
install: installdirs installfiles
installdirs:
-mkdir $(DIR755) $(DIR1777)
-chown $(OWNER) $(DIR755) $(DIR1777)
-chgrp $(GROUP) $(DIR755) $(DIR1777)
-chmod 755 $(DIR755)
-chmod 1777 $(DIR1777)
# -mkdir $(DIR755) $(DIR1777)
# -chown $(OWNER) $(DIR755) $(DIR1777)
# -chgrp $(GROUP) $(DIR755) $(DIR1777)
# -chmod 755 $(DIR755)
# -chmod 1777 $(DIR1777)
# alternative version of above if you have a good version of (INSTALL) available:
#-for i in $(DIR755) ; \
# do $(INSTALL) -d -o $(OWNER) -g $(GROUP) -m 755 $$i ;\
# done
#-for i in $(DIR1777) ; \
# do $(INSTALL) -d -o $(OWNER) -g $(GROUP) -m 1777 $$i ;\
# done
-for i in $(DIR755) ; \
do $(INSTALL) -d -o $(OWNER) -g $(GROUP) -m 755 $$i ;\
done
-for i in $(DIR1777) ; \
do $(INSTALL) -d -o $(OWNER) -g $(GROUP) -m 1777 $$i ;\
done
installfiles:
-for i in $(BINSUBDIRS); do \