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 @b4n and @mqudsi in universal-ctags#1554.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
  • Loading branch information
masatake committed Feb 2, 2019
1 parent 7119e7a commit 1b7ccf1
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 @@ -99,8 +99,10 @@ 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
.ctags.c:
$(optlib2c_verbose)$(OPTLIB2C) $< > $@
$(OPTLIB2C_INPUT): $(OPTLIB2C) Makefile
endif
dist_ctags_SOURCES = $(ALL_HEADS) $(ALL_SRCS)

Expand Down

0 comments on commit 1b7ccf1

Please sign in to comment.