Rename script back to virt-p2v.
[virt-p2v.git] / po / Makefile.in
index 46f1a13..25b2609 100644 (file)
@@ -34,7 +34,13 @@ POFILES              = $(addsuffix .po,$(LINGUAS))
 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