diff --git a/src/nix-env/Makefile.am b/src/nix-env/Makefile.am index 013d7ff77..a1e58cf00 100644 --- a/src/nix-env/Makefile.am +++ b/src/nix-env/Makefile.am @@ -6,7 +6,7 @@ nix_env_LDADD = ../libmain/libmain.la ../libexpr/libexpr.la \ ../libstore/libstore.la ../libutil/libutil.la \ ../boost/format/libformat.la ${bdb_lib} ${aterm_lib} -main.o: help.txt.hh +nix-env.o: help.txt.hh %.txt.hh: %.txt ../bin2c/bin2c helpText < $< > $@ || (rm $@ && exit 1) diff --git a/src/nix-instantiate/Makefile.am b/src/nix-instantiate/Makefile.am index d4f8b4cca..6e42c4fa0 100644 --- a/src/nix-instantiate/Makefile.am +++ b/src/nix-instantiate/Makefile.am @@ -5,7 +5,7 @@ nix_instantiate_LDADD = ../libmain/libmain.la ../libexpr/libexpr.la \ ../libstore/libstore.la ../libutil/libutil.la \ ../boost/format/libformat.la ${bdb_lib} ${aterm_lib} -main.o: help.txt.hh +nix-instantiate.o: help.txt.hh %.txt.hh: %.txt ../bin2c/bin2c helpText < $< > $@ || (rm $@ && exit 1) diff --git a/src/nix-store/Makefile.am b/src/nix-store/Makefile.am index b96b8dc36..1a07bcbb3 100644 --- a/src/nix-store/Makefile.am +++ b/src/nix-store/Makefile.am @@ -4,7 +4,7 @@ nix_store_SOURCES = nix-store.cc dotgraph.cc dotgraph.hh help.txt nix_store_LDADD = ../libmain/libmain.la ../libstore/libstore.la ../libutil/libutil.la \ ../boost/format/libformat.la ${bdb_lib} ${aterm_lib} -main.o: help.txt.hh +nix-store.o: help.txt.hh %.txt.hh: %.txt ../bin2c/bin2c helpText < $< > $@ || (rm $@ && exit 1) diff --git a/src/nix-worker/Makefile.am b/src/nix-worker/Makefile.am index 6c537a3f9..f6106450b 100644 --- a/src/nix-worker/Makefile.am +++ b/src/nix-worker/Makefile.am @@ -4,7 +4,7 @@ nix_worker_SOURCES = nix-worker.cc help.txt nix_worker_LDADD = ../libmain/libmain.la ../libstore/libstore.la ../libutil/libutil.la \ ../boost/format/libformat.la ${bdb_lib} ${aterm_lib} -main.o: help.txt.hh +nix-worker.o: help.txt.hh %.txt.hh: %.txt ../bin2c/bin2c helpText < $< > $@ || (rm $@ && exit 1)