add rmdir

This commit is contained in:
Felix von Leitner 2018-03-05 10:00:50 +00:00
parent 39a431f4d8
commit 8eceaa5232
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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