

Make "make install" create the destination directory, just in case they don't
exist.



---

 cur-root/Makefile |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletion(-)

diff -puN Makefile~mkdir_include Makefile
--- cur/Makefile~mkdir_include	2004-04-01 23:31:09.000000000 -0300
+++ cur-root/Makefile	2004-04-02 19:51:12.000000000 -0300
@@ -20,11 +20,14 @@ jiofsck: jiofsck.o static
 	$(CC) jiofsck.o libjio.a -lpthread -o jiofsck
 
 install: all
+	install -g root -o root -d $(PREFIX)/lib
 	install -g root -o root -m 0755 libjio.so $(PREFIX)/lib
 	install -g root -o root -m 0644 libjio.a $(PREFIX)/lib
+	install -g root -o root -d $(PREFIX)/include
 	install -g root -o root -m 0644 libjio.h $(PREFIX)/include
+	install -g root -o root -d $(PREFIX)/bin
 	install -g root -o root -m 0775 jiofsck $(PREFIX)/bin
-	install -g root -o root -m 0644 -d $(PREFIX)/man/man3
+	install -g root -o root -d $(PREFIX)/man/man3
 	install -g root -o root -m 0644 doc/libjio.3 $(PREFIX)/man/man3/
 	@echo
 	@echo "Please run ldconfig to update your library cache"

_
