From: Rafał Długołęcki Date: Thu, 11 Jul 2013 09:15:34 +0000 (+0200) Subject: Automatically binding targets to the correct (hardcoded for now) paths. X-Git-Tag: 3.1~59 X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=b1065ccbdc7a11e5a92736bbd391bf1dcfbf0b2c;p=vlp.git Automatically binding targets to the correct (hardcoded for now) paths. --- diff --git a/Makefile.am b/Makefile.am index e8624a5..6f94d85 100644 --- a/Makefile.am +++ b/Makefile.am @@ -36,6 +36,7 @@ src/graph/loggraph.moc: clean-loggraph-extra: rm -f src/graph/*.moc.cpp + rm -f bin/modules/loggraph bin_lognet_SOURCES = src/net/lognet.cpp src/net/lognet.moc.cpp bin_lognet_CPPFLAGS = $(bin_lognet_CFLAGS) @@ -45,6 +46,7 @@ src/net/lognet.moc.cpp: clean-lognet-extra: rm -f src/net/*.moc.cpp + rm -f bin/modules/lognet bin_logker_SOURCES = src/kernel/kernel.cpp src/kernel/kernel.moc bin_logker_CPPFLAGS = $(bin_logker_CFLAGS) @@ -90,6 +92,7 @@ src/edit/editor.moc.cpp: src/edit/editor.h clean-logedit-extra: rm -f src/edit/*.moc.cpp + rm -f bin/modules/logedit bin_lgconfig_SOURCES = src/lgconfig/lgconfig.cpp src/lgconfig/lgconfig.moc bin_lgconfig_CPPFLAGS = $(bin_lgconfig_CFLAGS) @@ -117,9 +120,16 @@ src/help/help.moc: clean-loghelp-extra: rm -f src/help/*.moc - + rm -f bin/modules/loghelp + +all-local: + test -d bin/modules || mkdir bin/modules + ln -fs ../logedit bin/modules/ + ln -fs ../loggraph bin/modules/ + ln -fs ../loghelp bin/modules/ + ln -fs ../lognet bin/modules/ + CLEANFILES = \ - %.moc \ %.o \ %.bak \ %~ @@ -132,5 +142,6 @@ clean-am: \ clean-lgconfig-extra \ clean-logcomp-extra \ clean-loghelp-extra + rm -r bin/modules dist_noinst_SCRIPTS = autogen.sh