Skip to content

Commit

Permalink
buildsys,refactor: Use '+=' operator to assign documentation related …
Browse files Browse the repository at this point in the history
…suffixes to SUFFIXES

So we can add more suffixes to SUFFIXES in another lines in Makefile.am.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
  • Loading branch information
masatake committed Feb 2, 2019
1 parent 29e5e52 commit 7119e7a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ $(REPOINFO_HEADS):
$(repoinfo_verbose)echo > $@
endif

SUFFIXES=

if RUN_OPTLIB2C
optlib2c_verbose = $(optlib2c_verbose_@AM_V@)
optlib2c_verbose_ = $(optlib2c_verbose_@AM_DEFAULT_V@)
Expand Down Expand Up @@ -120,7 +122,7 @@ man_MANS = man/ctags.1 man/ctags-incompatibilities.7 man/ctags-optlib.7
rst2man_verbose = $(rst2man_verbose_@AM_V@)
rst2man_verbose_ = $(rst2man_verbose_@AM_DEFAULT_V@)
rst2man_verbose_0 = @echo RST2MAN " $@";
SUFFIXES = .1.rst .1 .7.rst .7
SUFFIXES += .1.rst .1 .7.rst .7
# See man/Makefile
RST2MAN_OPTIONS=--syntax-highlight=none
.1.rst.1:
Expand Down

0 comments on commit 7119e7a

Please sign in to comment.