]> git.ipfire.org Git - thirdparty/libnl.git/commitdiff
build: always install files into /etc/libnl
authorJan Engelhardt <jengelh@medozas.de>
Wed, 24 Aug 2011 10:09:46 +0000 (12:09 +0200)
committerThomas Graf <tgraf@redhat.com>
Tue, 13 Sep 2011 11:19:26 +0000 (13:19 +0200)
I observed that with the RedHat build target in the Open Build
Service, files were put into /etc rather than /etc/libnl.
Self-referential variables are a bad idea, and so just avoid this.

Makefile.am

index e152685a7ed49e7f3d3a476b1510e8b407482f1a..6706e4bdc47df5d341db67eccac7ea7e681a3988 100644 (file)
@@ -15,8 +15,8 @@ pkgconfig_DATA = libnl-3.pc \
                 libnl-genl-3.pc \
                 libnl-nf-3.pc
 
-sysconfdir = @sysconfdir@/libnl
-sysconf_DATA = etc/pktloc etc/classid
+pkgsysconfdir = ${sysconfdir}/libnl
+pkgsysconf_DATA = etc/pktloc etc/classid
 
 EXTRA_DIST = \
        $(sysconf_DATA)