summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0ececcd5..2b1b7703 100644
--- a/Makefile
+++ b/Makefile
@@ -31,11 +31,14 @@ INCS := $(INCS) -I/usr/include/xmltok
LIBS := $(LIBS) -lxmlparse
endif
-all: make.deps ledger
+all: make.deps ledger ledger.info
ledger: $(OBJS)
g++ $(CFLAGS) $(INCS) $(DFLAGS) -o $@ $(OBJS) $(LIBS)
+ledger.info: ledger.texi
+ makeinfo $<
+
%.o: %.cc
g++ $(CFLAGS) $(INCS) $(DFLAGS) -c -o $@ $<