summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-10-13 13:39:30 +0200
committerThomas Haller <thaller@redhat.com>2016-10-13 14:42:27 +0200
commit6109e594ca076b13ed2bd1f0427b9cca67ce0f95 (patch)
tree19698c7216df9f1d47ebd26cca6839368fbd6ba1
parent654b94e9dc7e788adcede3306cf16bf85c408265 (diff)
downloadNetworkManager-6109e594ca076b13ed2bd1f0427b9cca67ce0f95.tar.gz
build: reorder toplevel Makefile.am
-rw-r--r--Makefile.am66
1 files changed, 39 insertions, 27 deletions
diff --git a/Makefile.am b/Makefile.am
index de32843d8d..1d522ddbfb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,9 @@
include $(GLIB_MAKEFILE)
+@GNOME_CODE_COVERAGE_RULES@
+
+###############################################################################
+
SUBDIRS = \
. \
introspection \
@@ -25,7 +29,37 @@ SUBDIRS += \
docs \
vapi
-@GNOME_CODE_COVERAGE_RULES@
+###############################################################################
+
+DISTCHECK_CONFIGURE_FLAGS = \
+ --enable-tests=yes \
+ --with-valgrind=no \
+ --enable-gtk-doc \
+ --enable-more-warnings=error \
+ --with-udev-dir=$$dc_install_base/lib/udev \
+ --with-wext=no \
+ --enable-ifcfg-rh \
+ --enable-ifupdown \
+ --enable-ifnet
+
+if BUILD_SETTING_DOCS
+dist-check-setting-docs:
+else
+dist-check-setting-docs:
+ @echo "*** gobject-introspection and pygobject are needed to run 'make dist'. ***"
+ @false
+endif
+
+dist: dist-check-setting-docs
+
+DISTCLEANFILES = intltool-extract intltool-merge intltool-update
+
+###############################################################################
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = NetworkManager.pc
+
+###############################################################################
EXTRA_DIST = \
CONTRIBUTING \
@@ -60,32 +94,6 @@ EXTRA_DIST = \
\
$(NULL)
-DISTCHECK_CONFIGURE_FLAGS = \
- --enable-tests=yes \
- --with-valgrind=no \
- --enable-gtk-doc \
- --enable-more-warnings=error \
- --with-udev-dir=$$dc_install_base/lib/udev \
- --with-wext=no \
- --enable-ifcfg-rh \
- --enable-ifupdown \
- --enable-ifnet
-
-if BUILD_SETTING_DOCS
-dist-check-setting-docs:
-else
-dist-check-setting-docs:
- @echo "*** gobject-introspection and pygobject are needed to run 'make dist'. ***"
- @false
-endif
-
-dist: dist-check-setting-docs
-
-DISTCLEANFILES = intltool-extract intltool-merge intltool-update
-
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = NetworkManager.pc
-
CLEANFILES = \
cscope.in.out \
cscope.out \
@@ -95,7 +103,11 @@ CLEANFILES = \
\
$(NULL)
+###############################################################################
+
cscope:
cscope -b -q -R -sshared -ssrc -slibnm-core -slibnm -slibnm-glib -slibnm-util -sclients;
+###############################################################################
+
.PHONY: cscope