Minor Makefile changes.
authorFlorian Pose <fp@igh-essen.com>
Fri, 20 Oct 2006 15:35:15 +0000
changeset 432 5e883e0ef95f
parent 431 47e7f99005c0
child 433 100f51f28cf2
Minor Makefile changes.
Makefile.am
devices/Makefile.am
master/Makefile.am
--- a/Makefile.am	Fri Oct 20 13:15:19 2006 +0000
+++ b/Makefile.am	Fri Oct 20 15:35:15 2006 +0000
@@ -1,9 +1,5 @@
 #------------------------------------------------------------------------------
 #
-#  Makefile.am
-#
-#  IgH EtherCAT master
-#
 #  $Id$
 #
 #  Copyright (C) 2006  Florian Pose, Ingenieurgemeinschaft IgH
@@ -41,6 +37,9 @@
 
 EXTRA_DIST = documentation/ethercat_doc.pdf
 
+install-data-local:
+	$(DEPMOD) -b "$(DESTDIR)" $(LINUX_KERNEL_VERSION)
+
 mydist:
 	@SVNREV=`svnversion $(srcdir)` && \
 	  $(MAKE) dist-bzip2 distdir=$(PACKAGE)-$(VERSION)-trunk-r$${SVNREV}
@@ -50,9 +49,6 @@
 		svnversion $(srcdir) 2>/dev/null >$(distdir)/svnrevision; \
 	fi
 
-install-data-local:
-	$(DEPMOD) -b "$(DESTDIR)" $(LINUX_KERNEL_VERSION)
-
 doc:
 	doxygen Doxyfile
 
--- a/devices/Makefile.am	Fri Oct 20 13:15:19 2006 +0000
+++ b/devices/Makefile.am	Fri Oct 20 15:35:15 2006 +0000
@@ -1,9 +1,5 @@
 #------------------------------------------------------------------------------
 #
-#  Makefile.am
-#
-#  IgH EtherCAT master module
-#
 #  $Id: Makefile 545 2006-09-19 13:28:40Z fp $
 #
 #  Copyright (C) 2006  Florian Pose, Ingenieurgemeinschaft IgH
@@ -41,7 +37,7 @@
 	8139too.c \
 	original_8139too.c
 
-all:
+all-local:
 	$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" modules
 
 clean-local:
--- a/master/Makefile.am	Fri Oct 20 13:15:19 2006 +0000
+++ b/master/Makefile.am	Fri Oct 20 15:35:15 2006 +0000
@@ -1,9 +1,5 @@
 #------------------------------------------------------------------------------
 #
-#  Makefile.am
-#
-#  IgH EtherCAT master module
-#
 #  $Id: Makefile 545 2006-09-19 13:28:40Z fp $
 #
 #  Copyright (C) 2006  Florian Pose, Ingenieurgemeinschaft IgH
@@ -52,7 +48,7 @@
 	slave.c slave.h \
 	xmldev.c xmldev.h
 
-all:
+all-local:
 	$(MAKE) -C "$(LINUX_SOURCE_DIR)" \
 		M="@abs_srcdir@" EC_DBG_IF="$(EC_DBG_IF)" modules