diff options
author | mat <mat@FreeBSD.org> | 2016-06-17 20:42:30 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2016-06-17 20:42:30 +0800 |
commit | 53b8609a04d6864bf876cffd9a547d86a34837ff (patch) | |
tree | 8f95e0d29536276777e5c8d03bc6210ea396c087 /Mk/bsd.ruby.mk | |
parent | 6221305b82374d59df54952ea15232da83a7d2d2 (diff) | |
download | freebsd-ports-gnome-53b8609a04d6864bf876cffd9a547d86a34837ff.tar.gz freebsd-ports-gnome-53b8609a04d6864bf876cffd9a547d86a34837ff.tar.zst freebsd-ports-gnome-53b8609a04d6864bf876cffd9a547d86a34837ff.zip |
Remove DO_NADA targets.
No need to have make(1) compute a target order graph for targets that
are empty.
Sponsored by: Absolight
Diffstat (limited to 'Mk/bsd.ruby.mk')
-rw-r--r-- | Mk/bsd.ruby.mk | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk index 05a1d0c7080e..93268c3cc4ba 100644 --- a/Mk/bsd.ruby.mk +++ b/Mk/bsd.ruby.mk @@ -446,18 +446,15 @@ RUBY_RD_HTML_FILES= ${RUBY_RD_FILES:S/.rb$//:S/.rd././:S/.rd$//:S/$/.html/} PLIST_SUB+= RUBY_RD_HTML_FILES="" -pre-install: ruby-rd-build - -ruby-rd-build: .if !empty(RUBY_RD_FILES) +_USES_build+= 290:ruby-rd-build +ruby-rd-build: @${ECHO_MSG} "===> Generating HTML documents from RD documents" @cd ${WRKSRC}; for rd in ${RUBY_RD_FILES}; do \ html=$$(echo $$rd | ${SED} 's/\.rb$$//;s/\.rd\././;s/\.rd$$//').html; \ ${ECHO_MSG} "${RUBY_RD2} $$rd > $$html"; \ ${RUBY_RD2} $$rd > $$html; \ done -.else - @${DO_NADA} .endif .else |