Skip to content

Commit

Permalink
[Makefile.am]: Use full file names (#104)
Browse files Browse the repository at this point in the history
* [Makefile.am]: Use full file names

GNU Automake does not support wildcards, which makes the build fail on
some versions of Automake with error "No rule to make target *.lua".

Signed-off-by: marian-pritsak <marianp@mellanox.com>

* Reuse EXTRA_DIST variable
  • Loading branch information
marian-pritsak authored and kcudnik committed Aug 9, 2017
1 parent 9347e0e commit 96018b5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions common/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@ INCLUDES = -I $(top_srcdir)

lib_LTLIBRARIES = libswsscommon.la

EXTRA_DIST = *.lua
EXTRA_DIST = \
consumer_state_table_pops.lua \
consumer_table_pops.lua \
table_dump.lua

swssdir = $(datadir)/swss

dist_swss_DATA = *.lua
dist_swss_DATA = $(EXTRA_DIST)

bin_PROGRAMS = swssloglevel

Expand Down

0 comments on commit 96018b5

Please sign in to comment.