MOFILES = $(addsuffix .mo,$(LINGUAS))
POTFILE = $(OCAML_GETTEXT_PACKAGE).pot
-all: $(MOFILES) $(POTFILE)
+all: ../.tmp.virt-p2v.ml $(MOFILES) $(POTFILE)
+
+# This is just a hack because ocaml-gettext doesn't know what to
+# do with a file that doesn't end in a *.ml extension, and even
+# if renamed it doesn't work because of the toplevel directives.
+../.tmp.virt-p2v.ml: ../virt-p2v
+ grep -v '^#' < $< > $@
install: install-po