[NetworkManager-openvpn/lr/gtk4-dist-check: 8/11] build: don't include the generated resources in dist tarball




commit a0d8be746bdc52fd101756ca0e11b396c96a8a79
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Thu Nov 11 10:42:40 2021 +0100

    build: don't include the generated resources in dist tarball

 Makefile.am | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 5427b89..6372726 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -108,8 +108,6 @@ plugin_sources = \
        properties/import-export.h
 
 editor_sources = \
-       properties/resources.c \
-       properties/resources.h \
        properties/nm-openvpn-editor.c \
        properties/nm-openvpn-editor.h
 
@@ -173,6 +171,10 @@ endif
 properties_libnm_vpn_plugin_openvpn_editor_la_SOURCES = \
        $(editor_sources)
 
+nodist_properties_libnm_vpn_plugin_openvpn_editor_la_SOURCES = \
+       properties/resources.c \
+       properties/resources.h
+
 properties_libnm_vpn_plugin_openvpn_editor_la_CPPFLAGS = \
        -DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_LIB_EDITOR \
        $(properties_cppflags) \
@@ -199,8 +201,11 @@ endif
 
 properties_libnm_openvpn_properties_core_la_SOURCES = \
        $(shared_sources) \
-       $(plugin_sources) \
-       $(editor_sources)
+       $(plugin_sources)
+
+nodist_properties_libnm_openvpn_properties_core_la_SOURCES = \
+       properties/resources.c \
+       properties/resources.h
 
 properties_libnm_openvpn_properties_core_la_CPPFLAGS = \
        
-DNETWORKMANAGER_COMPILATION='NM_NETWORKMANAGER_COMPILATION_LIB|NM_NETWORKMANAGER_COMPILATION_WITH_LIBNM_UTIL'
 \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]