diff --git a/.exclude.list b/.exclude.list new file mode 100644 index 0000000000000000000000000000000000000000..93034c2d86b4281d719c52e1ee0327d72ac267dd --- /dev/null +++ b/.exclude.list @@ -0,0 +1,7 @@ +lists/ +db/ +conf/ +fabfile* +Makefile* +README* +.* diff --git a/Makefile b/Makefile new file mode 100644 index 0000000000000000000000000000000000000000..f61adf06a6346cc98840bdb83301daa5d6365b3e --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +.PHONY: update publish + +dest = ns1:/var/www/htdocs/www.shore.co.il/repo + +update: + reprepro createsymlinks + reprepro --delete export + +publish: + rsync ./ $(dest) \ + --del \ + --compress \ + --archive \ + --exclude-from .exclude.list