summaryrefslogtreecommitdiffstats
path: root/fpm
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-08-04 10:36:34 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-08-04 11:13:55 +0200
commit70d27c5b7decb53c27543a0d58f7cd1dcda3ba44 (patch)
treed208609474bac2200bbb3df2d0c82ca658a24445 /fpm
parentbuild: pre-generate built headers in configure (diff)
downloadfrr-70d27c5b7decb53c27543a0d58f7cd1dcda3ba44.tar.xz
frr-70d27c5b7decb53c27543a0d58f7cd1dcda3ba44.zip
build: clean up BUILT_SOURCES
BUILT_SOURCES doesn't do what the name suggests. What it actually means is "these files should be built first when doing a 'make' without explicit target" (or "make all"). It's pretty much almost always wrong to use BUILT_SOURCES, the only correct use is when a file is needed by an unspecified / large set of files. Also remove version.h and route_types.h from dist tarball while we're at it. configure will create them anyway. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'fpm')
-rw-r--r--fpm/subdir.am1
1 files changed, 0 insertions, 1 deletions
diff --git a/fpm/subdir.am b/fpm/subdir.am
index f81a84222..795535596 100644
--- a/fpm/subdir.am
+++ b/fpm/subdir.am
@@ -13,7 +13,6 @@ fpm_libfrrfpm_pb_la_SOURCES = \
if HAVE_PROTOBUF
nodist_fpm_libfrrfpm_pb_la_SOURCES = fpm/fpm.pb-c.c
-BUILT_SOURCES += fpm/fpm.pb-c.c
CLEANFILES += \
fpm/fpm.pb-c.c \
fpm/fpm.pb-c.h \