Additional cleaning functions.
authorRafał Długołęcki <kontakt@dlugolecki.net.pl>
Thu, 11 Jul 2013 09:25:14 +0000 (11:25 +0200)
committerRafał Długołęcki <kontakt@dlugolecki.net.pl>
Thu, 11 Jul 2013 09:25:14 +0000 (11:25 +0200)
Makefile.am

index 6f94d857d3720906e46838107f8dd57213086a11..cd2e1eed57414eb4c109b5d53c2901d92bfa5634 100644 (file)
@@ -37,6 +37,7 @@ src/graph/loggraph.moc:
 clean-loggraph-extra:
        rm -f src/graph/*.moc.cpp
        rm -f bin/modules/loggraph
+       rm -f bin/loggraph
 
 bin_lognet_SOURCES = src/net/lognet.cpp src/net/lognet.moc.cpp
 bin_lognet_CPPFLAGS = $(bin_lognet_CFLAGS)
@@ -47,6 +48,7 @@ src/net/lognet.moc.cpp:
 clean-lognet-extra:
        rm -f src/net/*.moc.cpp
        rm -f bin/modules/lognet
+       rm -f bin/lognet
        
 bin_logker_SOURCES = src/kernel/kernel.cpp src/kernel/kernel.moc
 bin_logker_CPPFLAGS = $(bin_logker_CFLAGS)
@@ -56,6 +58,7 @@ src/kernel/kernel.moc:
        
 clean-logker-extra:
        rm -f src/kernel/*.moc
+       rm -f bin/logker
        
 bin_logint_SOURCES = \
   src/int/cint.c \
@@ -82,6 +85,10 @@ 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
+
 bin_logedit_SOURCES = src/edit/editor.cpp src/edit/editor.moc.cpp 
 bin_logedit_CPPFLAGS = $(bin_logedit_CFLAGS) 
 bin_logedit_LDADD = $(bin_logedit_LIBS)
@@ -93,6 +100,7 @@ src/edit/editor.moc.cpp: src/edit/editor.h
 clean-logedit-extra:
        rm -f src/edit/*.moc.cpp
        rm -f bin/modules/logedit
+       rm -f bin/logedit
 
 bin_lgconfig_SOURCES = src/lgconfig/lgconfig.cpp src/lgconfig/lgconfig.moc
 bin_lgconfig_CPPFLAGS = $(bin_lgconfig_CFLAGS)
@@ -102,6 +110,7 @@ src/lgconfig/lgconfig.moc:
 
 clean-lgconfig-extra:
        rm -f src/lgconfig/*.moc
+       rm -f bin/lgconfig
 
 bin_logcomp_SOURCES = src/preproc/prep.cpp src/preproc/prep.moc.cpp
 bin_logcomp_CPPFLAGS = $(bin_logcomp_CFLAGS)
@@ -111,6 +120,7 @@ src/preproc/prep.moc.cpp: src/preproc/prep.cpp
 
 clean-logcomp-extra:
        rm -f src/preproc/*.moc
+       rm -f bin/logcomp
 
 bin_loghelp_SOURCES = src/help/help.cpp src/help/help.moc
 bin_loghelp_CPPFLAGS = $(bin_loghelp_CFLAGS)
@@ -121,6 +131,7 @@ src/help/help.moc:
 clean-loghelp-extra:
        rm -f src/help/*.moc
        rm -f bin/modules/loghelp
+       rm -f bin/loghelp
 
 all-local:
        test -d bin/modules || mkdir bin/modules
@@ -142,6 +153,6 @@ clean-am: \
   clean-lgconfig-extra \
   clean-logcomp-extra \
   clean-loghelp-extra
-       rm -r bin/modules
+       rm -rf bin/modules
 
 dist_noinst_SCRIPTS = autogen.sh