aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Mickey <jmickey@netapp.com>2009-12-02 15:39:14 -0500
committerJeff Mickey <jmickey@netapp.com>2009-12-02 15:39:14 -0500
commit5772a472f5602a2e90c0645bf606d3ea6347d994 (patch)
tree650dc46c0b55f7c6c1aa83ee805e68700f162927
parent8a780a685967984924f7fd3a89cfd8cd2d9704be (diff)
downloadministat-5772a472f5602a2e90c0645bf606d3ea6347d994.zip
ministat-5772a472f5602a2e90c0645bf606d3ea6347d994.tar.xz
Makefile install update
* Changed install lines so folders are created if they don't exist. Signed-off-by: Jeff Mickey <j@codemac.net>
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 33a07e3..d176b76 100644
--- a/Makefile
+++ b/Makefile
@@ -15,8 +15,8 @@ install-man:
gzip -c ministat.1 > ministat.1.gz
install: install-man ministat
- install -m 0755 ministat $(DESTDIR)$(BINDIR)
- install -m 0644 ministat.1.gz $(DESTDIR)$(MANDIR)
+ install -D -m 0755 ministat $(DESTDIR)$(BINDIR)/ministat
+ install -D -m 0644 ministat.1.gz $(DESTDIR)$(MANDIR)/ministat.1.gz
uninstall:
rm $(DESTDIR)$(BINDIR)/minista