aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2016-03-10 14:52:42 +0000
committerJoão Valverde <j@v6e.pt>2016-03-23 00:23:52 +0000
commit7a15af9dd3ffad4398f26122029ee6e3be6e368d (patch)
tree81127e0d6e07a0428a65501d3f0d481ec8c9617a /doc
parent1777f840cfe9fe32b884341883b13374847e2e5b (diff)
Remove unnecessary make dependency in doc/Makefile.am
Change-Id: I3b8db4727d9674d4e573c5ccc739a3661ee14196 Reviewed-on: https://code.wireshark.org/review/14574 Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am18
1 files changed, 8 insertions, 10 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index d26a5fb0c5..4d69a91a48 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -93,23 +93,21 @@ pkgdata_DATA = AUTHORS-SHORT $(top_srcdir)/docbook/ws.css wireshark.html \
#
# Build the short version of the authors file for the about dialog
-#
-AUTHORS-SHORT: $(top_srcdir)/AUTHORS $(srcdir)/make-authors-short.pl
- $(AM_V_GEN)$(PERL) $(srcdir)/perlnoutf.pl $(srcdir)/make-authors-short.pl < $(top_srcdir)/AUTHORS > AUTHORS-SHORT
-
# Put a copy in the top-level directory so Help->About, when run from the
# build directory, can find it.
-../AUTHORS-SHORT: AUTHORS-SHORT
- $(AM_V_GEN)cp AUTHORS-SHORT ..
+#
+AUTHORS-SHORT: $(top_srcdir)/AUTHORS $(srcdir)/make-authors-short.pl
+ $(AM_V_GEN)$(PERL) $(srcdir)/perlnoutf.pl $(srcdir)/make-authors-short.pl \
+ < $(top_srcdir)/AUTHORS > AUTHORS-SHORT && \
+ cp $@ $(top_builddir)
#
# Build the short version of the authors file with formatting codes for the
# man page
-# (Depending on ../AUTHORS-SHORT is a bit of a hack to get the file copied
-# down there.)
#
-AUTHORS-SHORT-FORMAT: ../AUTHORS-SHORT $(srcdir)/make-authors-format.pl
- $(AM_V_GEN)$(PERL) $(srcdir)/perlnoutf.pl $(srcdir)/make-authors-format.pl < AUTHORS-SHORT > AUTHORS-SHORT-FORMAT
+AUTHORS-SHORT-FORMAT: AUTHORS-SHORT $(srcdir)/make-authors-format.pl
+ $(AM_V_GEN)$(PERL) $(srcdir)/perlnoutf.pl $(srcdir)/make-authors-format.pl \
+ < AUTHORS-SHORT > AUTHORS-SHORT-FORMAT
wireshark.pod: $(srcdir)/wireshark.pod.template AUTHORS-SHORT-FORMAT
$(AM_V_GEN)cat $(srcdir)/wireshark.pod.template AUTHORS-SHORT-FORMAT > wireshark.pod