about summary refs log tree commit diff
path: root/config-extra.h.mk
diff options
context:
space:
mode:
Diffstat (limited to 'config-extra.h.mk')
-rw-r--r--config-extra.h.mk27
1 files changed, 0 insertions, 27 deletions
diff --git a/config-extra.h.mk b/config-extra.h.mk
deleted file mode 100644
index c5e21d44..00000000
--- a/config-extra.h.mk
+++ /dev/null
@@ -1,27 +0,0 @@
-# With autotools, it is not easily possible to generate these defines
-# from configure.ac.
-#
-# See https://www.gnu.org/software/autoconf/manual/autoconf-2.63/html_node/Installation-Directory-Variables.html
-#
-# With meson-only, they could just be set via config.h.meson
-config-extra.h: config-extra.h.mk config.h config.status
-	$(AM_V_GEN) \
-	echo "/* Generated by Makefile.am */"                    >$@ && \
-	echo "#define BINDIR            \"$(bindir)\""          >>$@ && \
-	echo "#define DATADIR           \"$(datadir)\""         >>$@ && \
-	echo "#define LIBEXECDIR        \"$(libexecdir)\""      >>$@ && \
-	echo "#define LOCALSTATEDIR     \"$(localstatedir)\""   >>$@ && \
-	echo "#define NMCONFDIR         \"$(nmconfdir)\""       >>$@ && \
-	echo "#define NMLIBDIR          \"$(nmlibdir)\""        >>$@ && \
-	echo "#define NMLOCALEDIR       \"$(nmlocaledir)\""     >>$@ && \
-	echo "#define NMPLUGINDIR       \"$(plugindir)\""       >>$@ && \
-	echo "#define NMRUNDIR          \"$(nmrundir)\""        >>$@ && \
-	echo "#define NMSTATEDIR        \"$(nmstatedir)\""      >>$@ && \
-	echo "#define NMVPNDIR          \"$(pkglibdir)\""       >>$@ && \
-	echo "#define NM_BUILD_BUILDDIR \"$(abs_builddir)\""    >>$@ && \
-	echo "#define NM_BUILD_SRCDIR   \"$(abs_srcdir)\""      >>$@ && \
-	echo "#define PPPD_PLUGIN_DIR   \"$(PPPD_PLUGIN_DIR)\"" >>$@ && \
-	echo "#define PREFIX            \"$(prefix)\""          >>$@ && \
-	echo "#define RUNSTATEDIR       \"$(runstatedir)\""     >>$@ && \
-	echo "#define SYSCONFDIR        \"$(sysconfdir)\""      >>$@ && \
-	true