X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=generator%2FMakefile.am;h=44c0594cf6bbf9668c7649eaa3ca82d1e4367d8e;hb=d9c4b702e75ae565f7a4664e835a6e53c0675763;hp=a127a87be20fec45f21fc132994274b53af6cf05;hpb=900c9626b9d4f567b21aae433493b4b3b1d09f6d;p=libguestfs.git diff --git a/generator/Makefile.am b/generator/Makefile.am index a127a87..44c0594 100644 --- a/generator/Makefile.am +++ b/generator/Makefile.am @@ -1,5 +1,5 @@ # libguestfs -# Copyright (C) 2010 Red Hat Inc. +# Copyright (C) 2010-2011 Red Hat Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -46,6 +46,7 @@ SOURCES = \ generator_haskell.ml \ generator_csharp.ml \ generator_php.ml \ + generator_erlang.ml \ generator_bindtests.ml \ generator_errnostring.ml \ generator_main.ml @@ -85,7 +86,7 @@ else # No OCaml compiler. Just replace the generator with a script that # touches stamp-generator and prints a warning. -generator: $(SOURCES) +$(srcdir)/generator: $(SOURCES) rm -f $@ $@-t echo 'echo Warning: Install OCaml compiler in order to rebuild the generated files.' >> $@-t echo 'touch generator/stamp-generator' >> $@-t