[NetworkManager-openvpn/lr/gtk-4.0: 6/9] build: don't include the generated resources in dist tarball




commit 9e2ea647d05c5f1e59e83b6ff350bf967f08bc76
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]