summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in24
1 files changed, 18 insertions, 6 deletions
diff --git a/Makefile.in b/Makefile.in
index 644f141..1b9d4fb 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -9,17 +9,17 @@ SHELL = /bin/sh
objs = arg_parser.o decoder.o encoder.o main.o
-.PHONY : all doc check install install-info install-man install-extra \
+.PHONY : all install install-info install-man install-extra install-strip \
uninstall uninstall-info uninstall-man uninstall-extra \
- install-strip dist clean distclean
+ doc info man check dist clean distclean
all : $(progname) lziprecover
$(progname) : $(objs)
$(CXX) $(LDFLAGS) -o $(progname) $(objs)
-profiled_$(progname) : $(objs)
- $(CXX) $(LDFLAGS) -pg -o profiled_$(progname) $(objs)
+$(progname)_profiled : $(objs)
+ $(CXX) $(LDFLAGS) -pg -o $(progname)_profiled $(objs)
lziprecover : arg_parser.o lziprecover.o
$(CXX) $(LDFLAGS) -o lziprecover arg_parser.o lziprecover.o
@@ -40,16 +40,28 @@ encoder.o : lzip.h encoder.h
main.o : arg_parser.h lzip.h decoder.h encoder.h
lziprecover.o : arg_parser.h lzip.h Makefile
-doc : info $(VPATH)/doc/$(progname).1
+doc : info man
info : $(VPATH)/doc/$(progname).info
$(VPATH)/doc/$(progname).info : $(VPATH)/doc/$(progname).texinfo
cd $(VPATH)/doc && makeinfo $(progname).texinfo
+man : $(VPATH)/doc/$(progname).1 $(VPATH)/doc/lziprecover.1 \
+ $(VPATH)/doc/lzdiff.1 $(VPATH)/doc/lzgrep.1
+
$(VPATH)/doc/$(progname).1 : $(progname)
help2man -o $(VPATH)/doc/$(progname).1 ./$(progname)
+$(VPATH)/doc/lziprecover.1 : lziprecover
+ help2man -o $(VPATH)/doc/lziprecover.1 --no-info ./lziprecover
+
+$(VPATH)/doc/lzdiff.1 : $(VPATH)/lzdiff
+ help2man -o $(VPATH)/doc/lzdiff.1 --no-info $(VPATH)/lzdiff
+
+$(VPATH)/doc/lzgrep.1 : $(VPATH)/lzgrep
+ help2man -o $(VPATH)/doc/lzgrep.1 --no-info $(VPATH)/lzgrep
+
Makefile : $(VPATH)/configure $(VPATH)/Makefile.in
./config.status
@@ -118,7 +130,7 @@ dist :
lzip -v -9 $(DISTNAME).tar
clean :
- -rm -f $(progname) profiled_$(progname) $(objs)
+ -rm -f $(progname) $(progname)_profiled $(objs)
-rm -f lziprecover lziprecover.o
distclean : clean