Add "make install" option - prepare for 1.0.2 release
diff --git a/CHANGES b/CHANGES
index 4f3d475..7011872 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,7 @@
+News in zisofs-tools-1.0.2:
+
+ Add "make install" target :)
+
News in zisofs-tools-1.0.1:
By default, abort if file modes, times and ownership cannot be
diff --git a/Makefile b/Makefile
index f766ae6..fd57f52 100644
--- a/Makefile
+++ b/Makefile
@@ -19,13 +19,16 @@
-include MCONFIG
include MRULES
+PROGS = mkzftree
+MAN1PAGES = mkzftree.1
+
OBJS = mkzftree.o walk.o workers.o util.o hash.o iso9660.o \
compress.o uncompress.o
-all: mkzftree
+all: $(PROGS)
clean:
- rm -f *.o *.i *.s version.h mkzftree
+ rm -f *.o *.i *.s version.h $(PROGS)
distclean: clean
rm -f MCONFIG config.status config.cache config.log config.h *~ \#*
@@ -37,6 +40,12 @@
spotless: distclean
rm -f configure
+install: all
+ mkdir -p $(INSTALLROOT)$(bindir)
+ $(INSTALL) -m 755 $(PROGS) $(INSTALLROOT)$(bindir)
+ mkdir -p $(INSTALLROOT)$(mandir)/man1
+ $(INSTALL) -m 644 $(MAN1PAGES) $(INSTALLROOT)$(mandir)/man1
+
config: MCONFIG
MCONFIG: configure MCONFIG.in config.h.in
diff --git a/README b/README
index 376b2fe..3de2bf2 100644
--- a/README
+++ b/README
@@ -1,5 +1,5 @@
H. Peter Anvin <hpa@zytor.com
- July 29, 2001
+ October 29, 2001
User tools for zisofs:
diff --git a/version b/version
index 7dea76e..6d7de6e 100644
--- a/version
+++ b/version
@@ -1 +1 @@
-1.0.1
+1.0.2