Create *.annot files (for emacs C-c C-t)
[rpmdepsize.git] / Makefile.am
index fcf298c..41ddc7b 100644 (file)
 
 ACLOCAL_AMFLAGS = -I m4
 
-EXTRA_DIST = rpmdepsize.ml
+MLFILES = rpmdepsize_about.ml rpmdepsize_errors.ml rpmdepsize.ml
+
+EXTRA_DIST = \
+       $(MLFILES) rpmdepsize_about.ml.in \
+       rpmdepsize.spec rpmdepsize.spec.in
 
 CLEANFILES = rpmdepsize
 
 bin_SCRIPTS = rpmdepsize
 
-rpmdepsize: rpmdepsize.ml
+rpmdepsize: $(MLFILES)
        $(OCAMLFIND) $(OCAMLBEST) \
+         -dtypes \
          -package lablgtk2,sexplib,unix,extlib,sexplib.syntax \
          -syntax camlp4o \
          -linkpkg \
          gtkInit.cmx \
-         $< -o $@
+         $^ -o $@