* `nix --help'.

* `nix --query --graph' to print a dot dependency graph of derive
  expressions.
This commit is contained in:
Eelco Dolstra 2003-07-28 12:19:23 +00:00
parent f21b341957
commit 949c4fa1a8
3 changed files with 116 additions and 37 deletions

View file

@ -33,6 +33,13 @@ libshared_a_CXXFLAGS = \
-DNIX_LOG_DIR=\"$(localstatedir)/log/nix\" \
$(AM_CXXFLAGS)
nix.o: nix-help.txt.hh
%.hh: %
echo -n '"' > $@
sed 's|\(.*\)|\1\\n\\|' < $< >> $@
echo '"' >> $@
install-data-local:
$(INSTALL) -d $(localstatedir)/nix
$(INSTALL) -d $(localstatedir)/nix/links
@ -40,4 +47,4 @@ install-data-local:
$(INSTALL) -d $(prefix)/store
$(bindir)/nix --init
EXTRA_DIST = *.hh *.h
EXTRA_DIST = *.hh *.h