diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2011-11-11 00:33:51 (GMT) |
---|---|---|
committer | Thomas Graf <tgraf@redhat.com> | 2011-11-11 10:55:29 (GMT) |
commit | 88940b71f81525b1080fcdd5a029537e9a85ca38 (patch) | |
tree | 62e2b7cc2e948600f34f8f03c88e6fbf2a060b4e /Makefile.am | |
parent | 32f30b739ab8cf542ac9b13f6c418ffa98c56c31 (diff) | |
download | libnl-88940b71f81525b1080fcdd5a029537e9a85ca38.zip libnl-88940b71f81525b1080fcdd5a029537e9a85ca38.tar.gz libnl-88940b71f81525b1080fcdd5a029537e9a85ca38.tar.bz2 |
build: simplify optional dirs/files in Makefile.am processing
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/Makefile.am b/Makefile.am index 4b8f020..e21060f 100644 --- a/Makefile.am +++ b/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 |