Revision b578357e

View differences:

Makefile
104 104
install: $(INSTALL_TARGETS-yes)
105 105

  
106 106
install-progs: $(PROGS) $(INSTALL_PROGS_TARGETS-yes)
107
	install -d "$(BINDIR)"
107
	mkdir -p "$(BINDIR)"
108 108
	install -c -m 755 $(PROGS) "$(BINDIR)"
109 109

  
110 110
install-data: $(DATA_FILES)
111
	install -d "$(DATADIR)"
111
	mkdir -p "$(DATADIR)"
112 112
	install -m 644 $(DATA_FILES) "$(DATADIR)"
113 113

  
114 114
install-man: $(MANPAGES)
115
	install -d "$(MANDIR)/man1"
115
	mkdir -p "$(MANDIR)/man1"
116 116
	install -m 644 $(MANPAGES) "$(MANDIR)/man1"
117 117

  
118 118
uninstall: uninstall-progs uninstall-data uninstall-man
subdir.mak
62 62
endif
63 63

  
64 64
install-lib$(NAME)-shared: $(SUBDIR)$(SLIBNAME)
65
	install -d "$(SHLIBDIR)"
65
	mkdir -p "$(SHLIBDIR)"
66 66
	install -m 755 $$< "$(SHLIBDIR)/$(SLIBNAME_WITH_VERSION)"
67 67
	$(STRIP) "$(SHLIBDIR)/$(SLIBNAME_WITH_VERSION)"
68 68
	cd "$(SHLIBDIR)" && \
......
72 72
	$(SLIB_INSTALL_EXTRA_CMD)
73 73

  
74 74
install-lib$(NAME)-static: $(SUBDIR)$(LIBNAME)
75
	install -d "$(LIBDIR)"
75
	mkdir -p "$(LIBDIR)"
76 76
	install -m 644 $$< "$(LIBDIR)"
77 77
	$(LIB_INSTALL_EXTRA_CMD)
78 78

  
79 79
install-headers::
80
	install -d "$(INCINSTDIR)"
81
	install -d "$(LIBDIR)/pkgconfig"
80
	mkdir -p "$(INCINSTDIR)"
81
	mkdir -p "$(LIBDIR)/pkgconfig"
82 82
	install -m 644 $(addprefix "$(SRC_DIR)"/,$(HEADERS)) "$(INCINSTDIR)"
83 83
ifdef BUILT_HEADERS
84 84
	install -m 644 $(addprefix $(SUBDIR),$(BUILT_HEADERS)) "$(INCINSTDIR)"

Also available in: Unified diff