The following commit has been merged in the master branch:
commit d077f247c041cac5265e80bbe9d06efabb2b8eeb
Author: andrei zavada <[email protected]>
Date:   Wed Oct 24 01:49:51 2012 +0300

    '*' for wildcard doesn't work in Makefiles, stupid

diff --git a/src/common/Makefile.am b/src/common/Makefile.am
index 644bf65..3da0b98 100644
--- a/src/common/Makefile.am
+++ b/src/common/Makefile.am
@@ -23,7 +23,6 @@ BUILT_SOURCES = \
 
 %.hh.gch: %.hh
        $(CXXCOMPILE) -c $<
+CLEANFILES := \
+       $(BUILT_SOURCES)
 endif
-
-CLEANFILES = \
-       *.gch
diff --git a/src/expdesign/Makefile.am b/src/expdesign/Makefile.am
index 53a76c0..b96d6c4 100644
--- a/src/expdesign/Makefile.am
+++ b/src/expdesign/Makefile.am
@@ -20,7 +20,6 @@ BUILT_SOURCES = \
        primaries.hh.gch
 %.hh.gch: %.hh
        $(CXXCOMPILE) -c $<
+CLEANFILES := \
+       $(BUILT_SOURCES)
 endif
-
-CLEANFILES = \
-       *.gch
diff --git a/src/libsigfile/Makefile.am b/src/libsigfile/Makefile.am
index fe01818..d0942a0 100644
--- a/src/libsigfile/Makefile.am
+++ b/src/libsigfile/Makefile.am
@@ -88,10 +88,9 @@ BUILT_SOURCES = \
        artifacts.hh.gch
 %.hh.gch: %.hh
        $(CXXCOMPILE) -c $<
-endif
-
 CLEANFILES = \
        *.gch
+endif
 
 if DO_UPDATE_MIME_DB
 xdgdatadir = $(XDGDATADIR)
diff --git a/src/model/Makefile.am b/src/model/Makefile.am
index d8fac3b..3f8e899 100644
--- a/src/model/Makefile.am
+++ b/src/model/Makefile.am
@@ -23,7 +23,6 @@ BUILT_SOURCES = \
        forward-decls.hh.gch
 %.hh.gch: %.hh
        $(CXXCOMPILE) -c $<
+CLEANFILES := \
+       $(BUILT_SOURCES)
 endif
-
-CLEANFILES = \
-       *.gch
diff --git a/src/sigproc/Makefile.am b/src/sigproc/Makefile.am
index 4b8b7cd..200bb75 100644
--- a/src/sigproc/Makefile.am
+++ b/src/sigproc/Makefile.am
@@ -15,10 +15,9 @@ BUILT_SOURCES = \
        sigproc.hh.gch
 %.hh.gch: %.hh
        $(CXXCOMPILE) -c $<
+CLEANFILES := \
+       $(BUILT_SOURCES)
 endif
 
 EXTRA_DIST = \
        sigproc.ii
-
-CLEANFILES = \
-       *.gch
diff --git a/src/ui/Makefile.am b/src/ui/Makefile.am
index fc31bd8..423f914 100644
--- a/src/ui/Makefile.am
+++ b/src/ui/Makefile.am
@@ -78,7 +78,6 @@ BUILT_SOURCES = \
        mf_cb.hh.gch
 %.hh.gch: %.hh
        $(CXXCOMPILE) -c $<
+CLEANFILES := \
+       $(BUILT_SOURCES)
 endif
-
-CLEANFILES = \
-       *.gch

-- 
Sleep experiment manager

_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to