Commit 12f1e0fa authored by Antonio Terceiro's avatar Antonio Terceiro

links: require link target to exist during build

Also, add the corresponding JS/CSS packages as build dependencies
parent 65b63169
......@@ -3,7 +3,7 @@ all: doc
include links.mk
links.mk: links
awk '{ print("LINKS +=", $$1); print($$1, ":"); print("\tmkdir -p $$(shell dirname ", $$1, ")"); print("\tln -sf", $$2, $$1)}' $^ > $@
awk '{ print("LINKS +=", $$1); print($$1, ":"); print("\ttest -e ", $$2); print("\tmkdir -p $$(shell dirname ", $$1, ")"); print("\tln -sf", $$2, $$1)}' $^ > $@
MANPAGES = $(patsubst bin/%, man/%.1, $(shell grep -rl =head1 bin/*))
......
......@@ -11,6 +11,9 @@ Build-Depends: amqp-tools,
fonts-font-awesome (>= 4.0.3~),
inotify-tools,
jq,
libjs-bootstrap,
libjs-jquery,
libjs-jquery-flot,
moreutils,
patchutils,
rabbitmq-server,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment