Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #3898 - Fix wrong makefile instructions about rudder-doc #112

Merged
merged 1 commit into from Aug 30, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions rudder-webapp/SOURCES/Makefile
Expand Up @@ -24,7 +24,7 @@ WGET := $(if $(PROXY), http_proxy=$(PROXY) ftp_proxy=$(PROXY)) /usr/bin/wget
RUDDER_VERSION_TO_PACKAGE = <put Rudder version or version-snapshot here>
RUDDER_MAJOR_VERSION := $(shell echo ${RUDDER_VERSION_TO_PACKAGE} | cut -d'.' -f 1-2)

localdepends: ./rudder-sources ./maven2/bin/mvn ./rudder-users.xml ./rudder-doc ./rudder-doc/pdf/rudder-doc.pdf
localdepends: ./rudder-sources ./maven2/bin/mvn ./rudder-users.xml ./rudder-doc ./rudder-doc/html/rudder-doc.pdf

/usr/bin/wget:
sudo aptitude --assume-yes install wget
Expand All @@ -49,11 +49,11 @@ localdepends: ./rudder-sources ./maven2/bin/mvn ./rudder-users.xml ./rudder-doc
# Get user manual from rudder-project.org and rename directory containing it to rudder-doc
$(WGET) -P ./rudder-doc/html -r -np -nH --cut-dirs=1 http://www.rudder-project.org/rudder-doc-${RUDDER_MAJOR_VERSION}/rudder-doc.html
mkdir -p ./rudder-doc/pdf

./rudder-doc/pdf/rudder-doc.pdf: ./rudder-doc
# Move the generated PDF from html directory to pdf
mv ./rudder-doc/html/rudder-doc.pdf ./rudder-doc/pdf/
ln -s ../pdf/rudder-doc.pdf ./rudder-doc/html/rudder-doc.pdf

./rudder-doc/html/rudder-doc.pdf: ./rudder-doc
ln -fs ../pdf/rudder-doc.pdf ./rudder-doc/html/rudder-doc.pdf

./rudder-users.xml: ./rudder-sources
cp ./rudder-sources/rudder/rudder-web/src/main/resources/demo-rudder-users.xml ./rudder-users.xml
Expand Down