X-Git-Url: http://git.annexia.org/?p=virt-mem.git;a=blobdiff_plain;f=dmesg%2FMakefile.in;fp=dmesg%2FMakefile.in;h=8917154fcfc7243306b04a5d61cf62113600299c;hp=9425703637156bbaa185cc26104c1026efbaf50a;hb=8bd81b64dd11b27840b53208db19432dc9f6e06b;hpb=06b518ff4c3e74d9025a5a7b19c90527e5697a0e diff --git a/dmesg/Makefile.in b/dmesg/Makefile.in index 9425703..8917154 100644 --- a/dmesg/Makefile.in +++ b/dmesg/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-dmesg.opt: $(XOBJS) ../lib/virt_mem.cmxa ocamlfind ocamlopt \ $(OCAMLOPTFLAGS) $(OCAMLOPTPACKAGES) $(OCAMLOPTLIBS) $(XOBJS) -o $@ +install: + if [ -x virt-dmesg.opt ]; then \ + $(INSTALL) -m 0755 virt-dmesg.opt $(DESTDIR)$(bindir)/virt-dmesg; \ + fi + include ../Make.rules \ No newline at end of file