From 2af28d9285c3fc4fe80088a7e26e17f8333a215f Mon Sep 17 00:00:00 2001 From: Stephane Glondu Date: Wed, 8 Feb 2012 17:45:15 +0100 Subject: [PATCH] Remove empty directory at the right time --- debian/rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index 6db6b7b1..640a5d21 100755 --- a/debian/rules +++ b/debian/rules @@ -194,6 +194,8 @@ endif # Install OCaml sed -e 's|PREFIX=\"/.*\"|PREFIX=\"$(INSTDIR)"|' < config/config.sh > config/config.debian.install.sh $(MAKE) install PREFIX=$(INSTDIR) +# Remove empty directory + rmdir $(CURDIR)/debian/tmp$(OCAML_STDLIB_DIR)/ocamldoc/custom # To avoid erroneous dh_install warnings rm -f $(INSTDIR)/share/man/man1/ocamlopt.opt.1 $(INSTDIR)/share/man/man1/ocamlc.opt.1 # Dispatch files with dh_install @@ -223,8 +225,6 @@ endif ln -sf ../ocaml-base-nox/README.gz . && \ ln -sf ../ocaml-base-nox/README.Debian .; \ ); done -# Remove empty directory - rmdir $(CURDIR)/debian/ocaml-nox$(OCAML_STDLIB_DIR)/ocamldoc/custom # Remaining stuff touch $@ -- 2.30.2