-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
30 lines (23 loc) · 1.01 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
SCRIPTS_FOLDER_DEST=$(HOME)/.local/share/nautilus/scripts
RSYNC= rsync --info=stats0,misc1,flist0 --out-format="%f%L" -vau
notice:
@echo "Installing nautilus scripts"
@echo "Destination directorie:"
@echo $(SCRIPTS_FOLDER_DEST)
@echo ""
image: notice
@mkdir -vp $(SCRIPTS_FOLDER_DEST)
##### IMAGE ####
@$(RSYNC) "scripts/02-img-rotate-90" $(SCRIPTS_FOLDER_DEST)
@$(RSYNC) "scripts/02-img-to-png" $(SCRIPTS_FOLDER_DEST)
@$(RSYNC) "scripts/02-img-to-jpg" $(SCRIPTS_FOLDER_DEST)
@$(RSYNC) "scripts/03-img-remove-background-1" $(SCRIPTS_FOLDER_DEST)
@$(RSYNC) "scripts/03-img-remove-background-3" $(SCRIPTS_FOLDER_DEST)
@$(RSYNC) "scripts/03-img-remove-background-6" $(SCRIPTS_FOLDER_DEST)
@$(RSYNC) "scripts/03-img-remove-background-9" $(SCRIPTS_FOLDER_DEST)
@$(RSYNC) "scripts/03-img-remove-background-20" $(SCRIPTS_FOLDER_DEST)
pdf: notice
@mkdir -vp $(SCRIPTS_FOLDER_DEST)
###### PDF #####
@$(RSYNC) "scripts/01-pdf-merge" $(SCRIPTS_FOLDER_DEST)
@$(RSYNC) "scripts/01-pdf-rotate-90" $(SCRIPTS_FOLDER_DEST)