diff --git a/Doc/Makefile.in b/Doc/Makefile.in index 2fc67810eb23d2d2b0fe8ae91b7ac0a2822b2164..ebd0b5cec1f33fc3db989205b1ac06878e3e8738 100644 --- a/Doc/Makefile.in +++ b/Doc/Makefile.in @@ -1,6 +1,8 @@ SCRIPTBASENAME=lectures #localDbookXslCommonParam=draft.mode=yes +DESTDIR=/var/www/html/freedocs/draft + # Update Bulletin board topics updateTopics=no diff --git a/XmlCross/Makefile b/XmlCross/Makefile index e463a596029a0781b24f74f6d185e0de884bcf8e..89fb6f493e86ec803e9143f5063be02c16fc3546 100644 --- a/XmlCross/Makefile +++ b/XmlCross/Makefile @@ -1,3 +1,4 @@ SCRIPTBASENAME=xmlcross +DESTDIR=/var/www/html/freedocs/xmlc include /usr/share/hdm-docbook-xsl/Preprocess/make.rules diff --git a/ws/Docbook/Preprocess/make.rules b/ws/Docbook/Preprocess/make.rules index 8838a01c1fcdcce67f883d71db4a1f5dae273a82..6222ac4286e088de73c41538a479f78fceeb7a34 100644 --- a/ws/Docbook/Preprocess/make.rules +++ b/ws/Docbook/Preprocess/make.rules @@ -188,4 +188,11 @@ diff: diff -r --brief targetReference/ target|grep -v pdf || exit 0 +check-install: +ifndef DESTDIR + $(error DESTDIR is undefined) +endif + +install: check-install + rsync -av --delete ${BUILDROOT_WEBHELP}/* freedocs@prog.mi.hdm-stuttgart.de:${DESTDIR} #end