[dia: 7/105] #19: Code cleanup: remove .h from libdia_sources.



commit 47b8cc727fc264091f987c13ad4c8590d18b97ba
Author: Eduard Nicodei <eddnicodei gmail com>
Date:   Mon Dec 17 00:40:24 2018 +0000

    #19: Code cleanup: remove .h from libdia_sources.
    
      - Meson automatically asks the compiler to generate dependencies,
        so there is no need to manually keep track of them.

 lib/meson.build | 90 ---------------------------------------------------------
 1 file changed, 90 deletions(-)
---
diff --git a/lib/meson.build b/lib/meson.build
index 6f960d1e..26096712 100644
--- a/lib/meson.build
+++ b/lib/meson.build
@@ -1,189 +1,99 @@
 stdprop_sources = [
-    'properties.h',
     'properties.c',
-    'propinternals.h',
     'propdesc.c',
     'proplist.c',
     'propoffsets.c',
     'propobject.c',
     'prop_basic.c',
-    'prop_basic.h',
     'prop_dict.c',
-    'prop_dict.h',
     'prop_matrix.c',
-    'prop_matrix.h',
     'prop_pattern.c',
-    'prop_pattern.h',
     'prop_pixbuf.c',
-    'prop_pixbuf.h',
     'prop_inttypes.c',
-    'prop_inttypes.h',
     'prop_geomtypes.c',
-    'prop_geomtypes.h',
     'prop_attr.c',
-    'prop_attr.h',
     'prop_text.c',
-    'prop_text.h',
     'prop_widgets.c',
-    'prop_widgets.h',
     'prop_sdarray.c',
-    'prop_sdarray.h',
     'prop_sdarray_widget.c',
-    'prop_sdarray_widget.h',
     'propdialogs.c',
     'propregistry.c'
 ]
 
 libdia_sources = stdprop_sources + [
-    'diatypes.h',
-    'diavar.h',
-    'diamenu.h',
-    'diagramdata.h',
     'diagramdata.c',
     'layer.c',
-    'geometry.h',
     'geometry.c',
-    'color.h',
     'color.c',
     'dia_xml.c',
-    'dia_xml.h',
-    'dia_xml_libxml.h',
-    'attributes.h',
     'attributes.c',
     'text.c',
-    'text.h',
     'textline.c',
-    'textline.h',
     'font.c',
-    'font.h',
     'group.c',
-    'group.h',
     'utils.c',
-    'utils.h',
     'arrows.c',
-    'arrows.h',
     'message.c',
-    'message.h',
     'focus.c',
-    'focus.h',
     'sheet.c',
-    'sheet.h',
     'connectionpoint.c',
-    'connectionpoint.h',
-    'handle.h',
-    'object.h',
     'object.c',
-    'object-alias.h',
     'object-alias.c',
     'object_defaults.c',
     'connection.c',
-    'connection.h',
     'orth_conn.c',
-    'orth_conn.h',
     'poly_conn.c',
-    'poly_conn.h',
     'bezier_conn.c',
-    'bezier_conn.h',
     'bezier-common.c',
-    'bezier-common.h',
-    'connection.h',
     'element.c',
-    'element.h',
     'polyshape.c',
-    'polyshape.h',
     'beziershape.c',
-    'beziershape.h',
     'objchange.c',
-    'objchange.h',
     'dialogs.c',
-    'dialogs.h',
     'widgets.c',
-    'widgets.h',
     'diaoptionmenu.c',
-    'diaoptionmenu.h',
     'units.c',
-    'units.h',
     'dia_image.c',
-    'dia_image.h',
     'pattern.c',
-    'pattern.h',
     'standard-path.c',
-    'standard-path.h',
     'intl.c',
-    'intl.h',
     'filter.c',
-    'filter.h',
     'connpoint_line.c',
-    'connpoint_line.h',
-    'textattr.h',
     'dia_dirs.c',
-    'dia_dirs.h',
     'plug-ins.c',
-    'plug-ins.h',
-    'dummy_dep.h',
     'paper.c',
-    'paper.h',
     'boundingbox.c',
-    'boundingbox.h',
     'dynamic_obj.c',
-    'dynamic_obj.h',
     'create.c',
-    'create.h',
-    'dia-enums.h',
-    'diatransform.h',
     'diatransform.c',
-    'diarenderer.h',
     'diarenderer.c',
     'diaimportrenderer.c',
-    'diaimportrenderer.h',
     'diainteractiverenderer.c',
-    'diagdkrenderer.h',
     'diagdkrenderer.c',
-    'diapathrenderer.h',
     'diapathrenderer.c',
-    'path-math.h',
     'path-math.c',
-    'diapatternselector.h',
     'diapatternselector.c',
-    'diatransformrenderer.h',
     'diatransformrenderer.c',
-    'diasvgrenderer.h',
     'diasvgrenderer.c',
-    'dia_svg.h',
     'dia_svg.c',
     'autoroute.c',
-    'autoroute.h',
     'parent.c',
-    'parent.h',
-    'render_pixmap.h',
     'render_pixmap.c',
-    'diaarrowchooser.h',
     'diaarrowchooser.c',
     'diaarrowselector.c',
     'diacolorselector.c',
     'dialinestyleselector.c',
-    'dialinechooser.h',
     'dialinechooser.c',
-    'diadynamicmenu.h',
     'diadynamicmenu.c',
-    'diafontselector.h',
     'diafontselector.c',
     'persistence.c',
-    'persistence.h',
     'diaerror.c',
-    'diaerror.h',
     'debug.c',
-    'debug.h',
     'prefs.c',
-    'prefs.h',
     'dialib.c',
-    'dialib.h',
     'diacontext.c',
-    'diacontext.h',
     'diacellrendererenum.c',
-    'diacellrendererenum.h',
     'diacellrendererproperty.c',
-    'diacellrendererproperty.h'
 ]
 
 libm_dep = cc.find_library(


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