summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Kylie McClain <somasis@exherbo.org> 2015-08-30 14:35:56 -0400
committerAvatar Kylie McClain <somasis@exherbo.org> 2015-08-30 14:44:08 -0400
commit921b79b72ce3f0fc1c422e8e0b163725d282efe3 (patch)
tree00c8c00f3519cfcf3af001d9dd47125fc5fc333a
parent7e87f47b46d17aa180872933e6cf955cab8c9cc3 (diff)
downloadwww-921b79b72ce3f0fc1c422e8e0b163725d282efe3.tar.gz
www-921b79b72ce3f0fc1c422e8e0b163725d282efe3.tar.xz
Makefile: be a little quieter
Change-Id: I32dedc23261495852ecda1cf70a8adebbf003d1b
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index fd697c3..9ef0d50 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@ all: $(addsuffix .html,$(basename $(shell find -type f -name '*.mkd' -not -whole
@sed -i -e '/^<?xml/ { N;N;N;d; };s/<html /<!DOCTYPE html>\n<html /' $@
@sed -i -e 's,<table>,<table class="table">,g' $@
@sed -i -e 's,</head>,<meta name="viewport" content="width=device-width\, initial-scale=1\, maximum-scale=1\, user-scalable=no" /><link rel="shortcut icon" href="/favicon.ico" /></head>,' $@
- @if [[ "$<" == developers.mkd ]];then make developers;fi
+ @if [[ "$<" == developers.mkd ]];then make --no-print-directory developers;fi
@rm $<.tmp
developers: developers.html
@@ -28,8 +28,8 @@ developers: developers.html
@echo
deploy: all
- [[ -d "$(IMAGE)" ]] || mkdir -p "$(IMAGE)"
- rsync -av . "$(IMAGE)" \
+ @if [[ -d "$(IMAGE)" ]];then mkdir -p "$(IMAGE)";fi
+ @rsync -a . "$(IMAGE)" \
--delete-after \
--exclude "$(IMAGE)" \
--exclude image \