vlp-9 Added creation of missing directories. Linking executables where should be...
authorRafał Długołęcki <kontakt@dlugolecki.net.pl>
Mon, 29 Jul 2013 20:32:41 +0000 (22:32 +0200)
committerRafał Długołęcki <kontakt@dlugolecki.net.pl>
Mon, 29 Jul 2013 20:32:41 +0000 (22:32 +0200)
Makefile.am

index cd2e1eed57414eb4c109b5d53c2901d92bfa5634..b346c8786d9386c15b4f6b2c87f8324b4c4fba4b 100644 (file)
@@ -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