X-Git-Url: http://git.annexia.org/?p=ocaml-augeas.git;a=blobdiff_plain;f=Makefile.in;h=88647258ac66d4dcd4fd90e9eac430a30ccaef41;hp=330429e8b0506fc034b809b5d8e08183498c924a;hb=d34f7efe4e4fa9ee0a2a05ebad5ad73dbb390373;hpb=733538eeff0a67be144adc181e54771e059ef222 diff --git a/Makefile.in b/Makefile.in index 330429e..8864725 100644 --- a/Makefile.in +++ b/Makefile.in @@ -42,15 +42,15 @@ export LIBRARY_PATH = . all: mlaugeas.cma mlaugeas.cmxa test_augeas -mlaugeas.cma: augeas_c.o augeas.cmo +mlaugeas.cma: augeas-c.o augeas.cmo ocamlmklib $(LDFLAGS) $(LIBS) -o mlaugeas $^ -mlaugeas.cmxa: augeas_c.o augeas.cmx +mlaugeas.cmxa: augeas-c.o augeas.cmx ocamlmklib $(LDFLAGS) $(LIBS) -o mlaugeas $^ # Test program. -test_augeas: test_augeas.cmo test_root +test_augeas: test_augeas.cmo test_root mlaugeas.cma $(OCAMLFIND) ocamlc -o $@ mlaugeas.cma $< test_root: @@ -59,6 +59,9 @@ test_root: mkdir $@/etc cp /etc/hosts $@/etc/ +check: + LD_LIBRARY_PATH=. ./test_augeas + # Clean. clean: @@ -108,13 +111,14 @@ dist: mkdir $(PACKAGE)-$(VERSION) tar -cf - -T MANIFEST | tar -C $(PACKAGE)-$(VERSION) -xf - $(INSTALL) -m 0755 configure $(PACKAGE)-$(VERSION)/ + $(INSTALL) -m 0644 aclocal.m4 $(PACKAGE)-$(VERSION)/ $(INSTALL) -m 0644 config.h.in $(PACKAGE)-$(VERSION)/ tar zcf $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION) rm -rf $(PACKAGE)-$(VERSION) ls -l $(PACKAGE)-$(VERSION).tar.gz check-manifest: - hg manifest | sort > .check-manifest; \ + git ls-files | sort > .check-manifest; \ sort MANIFEST > .orig-manifest; \ diff -u .orig-manifest .check-manifest; rv=$$?; \ rm -f .orig-manifest .check-manifest; \