X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=Makefile.am;h=e55b08bf5348cf8bd7c40dd516888cdfc1c514dc;hb=b48793edf81414fe37fbfd96c0b5851767ebb96d;hp=5e26a553d1fcdb35024b66254723ea45181ba7c7;hpb=071e0e59c28ebdade0fa78845535f0592d7858ee;p=rpmdepsize.git diff --git a/Makefile.am b/Makefile.am index 5e26a55..e55b08b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -17,33 +17,22 @@ # # Written by Richard W.M. Jones -bin_SCRIPTS = \ - rpmdepsize repodeps +ACLOCAL_AMFLAGS = -I m4 -rpmdepsize: rpmdepsize.ml - ocamlfind ocamlopt -package sexplib,unix,extlib,sexplib.syntax -syntax camlp4o -linkpkg $< -o $@ +MLFILES = rpmdepsize_about.ml rpmdepsize_errors.ml rpmdepsize.ml -repodeps: repodeps.py - rm -f $@ - sed 's,PYTHON,$(PYTHON),' < $< > $@-t - chmod 0555 $@-t - mv $@-t $@ - -man_MANS = \ - rpmdepsize.1 - -if HAVE_PERLDOC +EXTRA_DIST = \ + $(MLFILES) rpmdepsize_about.ml.in \ + rpmdepsize.spec rpmdepsize.spec.in -rpmdepsize.1: rpmdepsize.pl - pod2man \ - --section 1 \ - -c "Virtualization Support" \ - --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \ - $< > $@ +CLEANFILES = rpmdepsize -endif +bin_SCRIPTS = rpmdepsize -EXTRA_DIST = \ - rpmdepsize.1 \ - rpmdepsize.sh \ - repodeps.py +rpmdepsize: $(MLFILES) + $(OCAMLFIND) $(OCAMLBEST) \ + -package lablgtk2,sexplib,unix,extlib,sexplib.syntax \ + -syntax camlp4o \ + -linkpkg \ + gtkInit.cmx \ + $^ -o $@