build: simplify optional dirs/files in Makefile.am processing
This commit is contained in:
parent
32f30b739a
commit
88940b71f8
1 changed files with 7 additions and 11 deletions
18
Makefile.am
18
Makefile.am
|
@ -2,21 +2,17 @@
|
|||
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
OPT_DIRS =
|
||||
PKGCONFIGS =
|
||||
|
||||
if ENABLE_CLI
|
||||
OPT_DIRS += src
|
||||
PKGCONFIGS += libnl-cli-3.0.pc
|
||||
endif
|
||||
|
||||
SUBDIRS = include lib doc man python $(OPT_DIRS)
|
||||
SUBDIRS = include lib doc man python
|
||||
|
||||
pkgconfig_DATA = libnl-3.0.pc \
|
||||
libnl-route-3.0.pc \
|
||||
libnl-genl-3.0.pc \
|
||||
libnl-nf-3.0.pc \
|
||||
$(PKGCONFIGS)
|
||||
libnl-nf-3.0.pc
|
||||
|
||||
if ENABLE_CLI
|
||||
SUBDIRS += src
|
||||
pkgconfig_DATA += libnl-cli-3.0.pc
|
||||
endif
|
||||
|
||||
|
||||
pkgsysconfdir = ${sysconfdir}/libnl
|
||||
|
|
Loading…
Add table
Reference in a new issue