Skip to content

Commit

Permalink
buildsys: don't use %.c to in a suffix rule
Browse files Browse the repository at this point in the history
Suggested by @mqudsi in universal-ctags#1554.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
  • Loading branch information
masatake committed Oct 14, 2018
1 parent c0943d1 commit b1cf2d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ optlib2c_verbose = $(optlib2c_verbose_@AM_V@)
optlib2c_verbose_ = $(optlib2c_verbose_@AM_DEFAULT_V@)
optlib2c_verbose_0 = @echo OPTLIB2C " $@";
OPTLIB2C = $(srcdir)/misc/optlib2c
%.c: %.ctags $(OPTLIB2C) Makefile
SUFFIXES += .ctags
.c.ctags: $(OPTLIB2C) Makefile
$(optlib2c_verbose)$(OPTLIB2C) $< > $@
endif
dist_ctags_SOURCES = $(ALL_HEADS) $(ALL_SRCS)
Expand Down

0 comments on commit b1cf2d4

Please sign in to comment.