* doc/Makefile.am: Fixed clean target to work properly.
[cacao.git] / doc / Makefile.am
index 743debfcd50f6b4ba6fbf4e528d2de1633235975..327d68f77bbb1ab350296865db3eb1849cb35818 100644 (file)
@@ -36,14 +36,7 @@ dist_noinst_DATA = annotations.tex jsr.bib
 
 EXTRA_DIST = inlining_stacktrace.txt native_threads.txt stack.txt
 
-annotations:
-       latex annotations
-       bibtex annotations
-       latex annotations
-       latex annotations
-
-clean:
-       rm -f \
+CLEANFILES = \
        annotations.aux \
        annotations.bbl \
        annotations.blg \
@@ -56,6 +49,12 @@ clean:
        annotations.out \
        annotations.tex~
 
+annotations:
+       latex annotations
+       bibtex annotations
+       latex annotations
+       latex annotations
+
 ## Local variables:
 ## mode: Makefile
 ## indent-tabs-mode: t