Fix rsync 42 / 21 and improve name of ft_ltoa_base_len
This commit is contained in:
8
Makefile
8
Makefile
@@ -6,7 +6,7 @@
|
||||
# By: gbaconni@student.42lausanne.ch +#+ +:+ +#+ #
|
||||
# +#+#+#+#+#+ +#+ #
|
||||
# Created: 2022/01/18 15:11:16 by gbaconni #+# #+# #
|
||||
# Updated: 2022/04/17 20:56:04 by gbaconni ### lausanne.ch #
|
||||
# Updated: 2022/04/18 09:07:48 by gbaconni ### lausanne.ch #
|
||||
# #
|
||||
# **************************************************************************** #
|
||||
#
|
||||
@@ -136,6 +136,8 @@ config:
|
||||
@git clone $(GIT_REPO) 42 || true
|
||||
|
||||
21: 42
|
||||
@find libftprintf -maxdepth 2 -type f -name '*.c' -o -name '*.h' -o -name 'Makefile' | sed -r "s|(libftprintf/)|\1./|" | xargs -I {} rsync -SaR {} 42/
|
||||
@make -C 42 sync
|
||||
@mv 42/.git .42.git
|
||||
@rsync --verbose --archive --delete --include '*.c' --include '*.h' --include 'Makefile' --include '*/' --exclude '*' libftprintf/ 42/
|
||||
@mv .42.git 42/.git
|
||||
@make -C 42 check fclean clean re all sync
|
||||
|
||||
|
||||
Reference in New Issue
Block a user