From 289f5009e70ceb4a6c7978c13d92155bd6027053 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C5=82=20D=C5=82ugo=C5=82=C4=99cki?= Date: Mon, 29 Jul 2013 22:32:41 +0200 Subject: [PATCH] vlp-9 Added creation of missing directories. Linking executables where should be exist. --- Makefile.am | 42 ++++++++++++++++++++++++++++++++---------- 1 file changed, 32 insertions(+), 10 deletions(-) diff --git a/Makefile.am b/Makefile.am index cd2e1ee..b346c87 100644 --- a/Makefile.am +++ b/Makefile.am @@ -85,9 +85,8 @@ bin_logint_SOURCES = \ bin_logint_CPPFLAGS = $(bin_logint_CFLAGS) -DUNIX -DWORD_32BIT -DUSE_CLOCK -Dpascal= -DOBJECTADDR -DSYSV -I$(top_srcdir)/src/global -I/usr/include/qt3 bin_logint_LDADD = $(bin_logint_LIBS) -lm -lqt-mt -# TODO: not working... -#clean-logint-extra: -# rm -f bin/logint +clean-logint-extra: + rm -f bin/logint bin_logedit_SOURCES = src/edit/editor.cpp src/edit/editor.moc.cpp bin_logedit_CPPFLAGS = $(bin_logedit_CFLAGS) @@ -133,26 +132,49 @@ clean-loghelp-extra: rm -f bin/modules/loghelp rm -f bin/loghelp -all-local: +all-local: doxyfile.stamp + test -d bin/doc || mkdir bin/doc + test -d bin/pics || mkdir bin/pics test -d bin/modules || mkdir bin/modules + test -d bin/config || mkdir bin/config + test -d bin/compile || mkdir bin/compile + test -d bin/doc/lang || mkdir bin/doc/lang + test -d bin/examp || mkdir bin/examp ln -fs ../logedit bin/modules/ ln -fs ../loggraph bin/modules/ ln -fs ../loghelp bin/modules/ ln -fs ../lognet bin/modules/ - -CLEANFILES = \ - %.o \ - %.bak \ - %~ - + ln -fs ../logint bin/modules/ + ln -fs ../logcomp bin/compile/ + ln -fs ../lgconfig bin/config/ + cp doc/vlp.cfg.sample bin/vlp.cfg + cp -r doc/examples/* bin/examp/ + cp doc/install/inst/close.bmp bin/pics/ + cp doc/install/inst/logo.bmp bin/config/ + +# cp inst/loglan $(INSTALLDIR)/compile +# cp inst/gen $(INSTALLDIR)/compile clean-am: \ clean-loggraph-extra \ clean-lognet-extra \ clean-logker-extra \ + clean-logint-extra \ clean-logedit-extra \ clean-lgconfig-extra \ clean-logcomp-extra \ clean-loghelp-extra + rm -rf bin/doc + rm -rf bin/pics rm -rf bin/modules + rm -rf bin/config + rm -rf bin/compile + rm -rf bin/examp + rm -f bin/vlp.cfg + +CLEANFILES = \ + %.o \ + %.bak \ + %~ \ + doxyfile.stamp dist_noinst_SCRIPTS = autogen.sh -- 2.30.2