summaryrefslogtreecommitdiff
blob: 7a36d3cdfde7072f09f451a5af405b2ced4c913d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- Makefile.orig	2004-03-04 03:08:18.967017104 -0500
+++ Makefile	2004-03-04 03:10:11.445917712 -0500
@@ -36,10 +36,12 @@
 	$(DIET) $(CROSS)$(CC) $(CFLAGS) -o $@ $^
 
 install-files:
+	test -d $(DESTDIR)/sbin || mkdir -p $(DESTDIR)/sbin
 	install minit pidfilehack $(DESTDIR)/sbin
 	install write_proc hard-reboot $(DESTDIR)/sbin
+	test -d $(DESTDIR)/bin || mkdir -p $(DESTDIR)/bin
 	install msvc $(DESTDIR)/bin
-	test -d $(DESTDIR)/etc/minit || mkdir $(DESTDIR)/etc/minit
+	test -d $(DESTDIR)/etc/minit || mkdir -p $(DESTDIR)/etc/minit
 
 install-fifos:
 	-mkfifo -m 600 $(DESTDIR)/etc/minit/in $(DESTDIR)/etc/minit/out