HAVE_PERLDOC = @HAVE_PERLDOC@
-TOOLS = uname dmesg ps
+TOOLS = uname dmesg ps ifconfig
export TOOLS
SUBDIRS_NOT_PO = lib $(TOOLS) mem extract/fedora-koji extract/codegen
TARGETS = $(MANPAGES) $(TEXTMANPAGES)
all: $(TARGETS)
- for d in $(SUBDIRS); do \
+ for d in $(SUBDIRS_NOT_PO); do \
$(MAKE) -C $$d $@; \
if [ $$? -ne 0 ]; then exit 1; fi; \
done
rm -f Makefile
rm -f */Makefile
+# Rebuild the PO files.
+
+update-po:
+ $(MAKE) -C po all
+
+# Download distribution kernels (warning: takes AGES).
+
+update-kerneldb:
+ cd kernels && \
+ ../extract/fedora-koji/fedora-koji-download-kernels.opt
+
+# Rebuild the generated kernel struct parsers from the kerneldb.
+
+update-kernel-structs:
+ extract/codegen/kerneldb-to-parser.opt kernels lib
+
# Developer documentation (in html/ subdirectory).
ifneq ($(OCAMLDOC),)