X-Git-Url: http://git.annexia.org/?p=virt-mem.git;a=blobdiff_plain;f=uname%2FMakefile.in;h=2bec44d4b51209d8657ac8aab5231e60a4a68a87;hp=0211b30ce85fb522e875bce11d5f07ecb6518a0c;hb=8bd81b64dd11b27840b53208db19432dc9f6e06b;hpb=06b518ff4c3e74d9025a5a7b19c90527e5697a0e diff --git a/uname/Makefile.in b/uname/Makefile.in index 0211b30..2bec44d 100644 --- a/uname/Makefile.in +++ b/uname/Makefile.in @@ -20,6 +20,7 @@ PACKAGE = @PACKAGE_NAME@ VERSION = @PACKAGE_VERSION@ INSTALL = @INSTALL@ +bindir = @bindir@ SYNTAX = -pp "camlp4o -I$$(ocamlc -where)/bitmatch bitmatch.cma pa_bitmatch.cmo" @@ -56,4 +57,9 @@ virt-uname.opt: $(XOBJS) ../lib/virt_mem.cmxa ocamlfind ocamlopt \ $(OCAMLOPTFLAGS) $(OCAMLOPTPACKAGES) $(OCAMLOPTLIBS) $(XOBJS) -o $@ +install: + if [ -x virt-uname.opt ]; then \ + $(INSTALL) -m 0755 virt-uname.opt $(DESTDIR)$(bindir)/virt-uname; \ + fi + include ../Make.rules \ No newline at end of file