summaryrefslogtreecommitdiffstats
path: root/tools/automake/Makefile
diff options
context:
space:
mode:
authorlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-10-08 21:50:03 +0000
committerlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-10-08 21:50:03 +0000
commite57a3cb7f2d656644bc46d5bdd89a9199754c614 (patch)
treea685819eb4207baf4f382a1db3c4d42e74082313 /tools/automake/Makefile
parente378dbfeabc3cc6fe75f3d8e0e462ca60b9c15b0 (diff)
Add wrapper around aclocal which also search in the targets staging dir aclocal
folder for m4 files. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12929 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/automake/Makefile')
-rw-r--r--tools/automake/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/automake/Makefile b/tools/automake/Makefile
index cf39cbda8..2b8a6f345 100644
--- a/tools/automake/Makefile
+++ b/tools/automake/Makefile
@@ -1,4 +1,4 @@
-#
+#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
@@ -27,6 +27,9 @@ endef
define Build/Install
$(MAKE) -C $(PKG_BUILD_DIR) install
+ mv $(STAGING_DIR_HOST)/bin/aclocal $(STAGING_DIR_HOST)/bin/aclocal.real
+ $(INSTALL_BIN) ./files/aclocal $(STAGING_DIR_HOST)/bin
+ ln -f $(STAGING_DIR_HOST)/bin/aclocal $(STAGING_DIR_HOST)/bin/aclocal-1.9
endef
define Build/Clean