add public target in makefile
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
parent
7724fc0de1
commit
5e2ae0f38d
1 changed files with 6 additions and 1 deletions
7
Makefile
7
Makefile
|
@ -1,4 +1,5 @@
|
||||||
DESTDIR=/home/users/nico/privat/computer/net/netzseiten/www.nico.schottelius.org/dst
|
DESTDIR=/home/users/nico/privat/computer/net/netzseiten/www.nico.schottelius.org/dst/
|
||||||
|
PUBDIR=tee.schottelius.org:/home/services/www/nico/www.nico.schottelius.org/www/
|
||||||
|
|
||||||
view: all
|
view: all
|
||||||
firefox ${DESTDIR}/index.html
|
firefox ${DESTDIR}/index.html
|
||||||
|
@ -9,3 +10,7 @@ all:
|
||||||
clean: all
|
clean: all
|
||||||
rm -rf ${DESTDIR}
|
rm -rf ${DESTDIR}
|
||||||
|
|
||||||
|
public: all
|
||||||
|
rsync -av --delete ${DESTDIR} ${PUBDIR}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue