From d4d9b091ef7b510fd51b9f6197880bbbcad99da8 Mon Sep 17 00:00:00 2001 From: leitner Date: Mon, 5 Mar 2018 10:00:50 +0000 Subject: [PATCH] add rmdir --- GNUmakefile | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 5c7cf24..e1c2eef 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -230,7 +230,7 @@ install: headers install-inc install-man install-lib uninstall: rm -f $(patsubst %.h,$(INCLUDEDIR)/%.h,$(INCLUDES)) rm -f $(INCLUDEDIR)/libowfat/*.h - rmdir -f $(INCLUDEDIR)/libowfat + test -d $(INCLUDEDIR)/libowfat && rmdir $(INCLUDEDIR)/libowfat rm -f $(patsubst %.3,$(MAN3DIR)/%.3,$(notdir $(wildcard */*.3))) rm -f $(LIBDIR)/libowfat.a diff --git a/Makefile b/Makefile index e4190e1..c73ca2d 100644 --- a/Makefile +++ b/Makefile @@ -819,7 +819,7 @@ install: headers install-inc install-man install-lib uninstall: rm -f $(patsubst %.h,$(INCLUDEDIR)/%.h,$(INCLUDES)) rm -f $(INCLUDEDIR)/libowfat/*.h - rmdir -f $(INCLUDEDIR)/libowfat + test -d $(INCLUDEDIR)/libowfat && rmdir $(INCLUDEDIR)/libowfat rm -f $(patsubst %.3,$(MAN3DIR)/%.3,$(notdir $(wildcard */*.3))) rm -f $(LIBDIR)/libowfat.a