use rsync to delete obsolete files
This deletes old and stale files, which are not included in the generated content anymore. This keeps the target directory nice and clean.
このコミットが含まれているのは:
コミット
f9a0e79b04
2
Makefile
2
Makefile
|
@ -20,7 +20,7 @@ clean:
|
|||
-rm -r public/*
|
||||
|
||||
install:
|
||||
cp -r public/ $(HTTPDIR)/
|
||||
rsync --delete -r public/ $(HTTPDIR)/
|
||||
find $(HTTPDIR) ! -path $(HTTPDIR) -type d -exec chmod $(DIRMODE) {} +
|
||||
find $(HTTPDIR) ! -path $(HTTPDIR) -type f -exec chmod $(FILEMODE) {} +
|
||||
chown -R $(OWNER):$(GROUP) $(HTTPDIR)/
|
||||
|
|
読み込み中…
新しいイシューから参照