X-Git-Url: http://git.annexia.org/?p=virt-mem.git;a=blobdiff_plain;f=Makefile.in;h=cca638845d968cc7e4082328ee305efbd974905b;hp=a2026deeded26a131b3e38eda0022fdcbf679c85;hb=7cb0d37dafdefce84af1230444e6b8ce911d590e;hpb=a027fa3a8307a2d04b2a8460071b76134be29ddc;ds=sidebyside diff --git a/Makefile.in b/Makefile.in index a2026de..cca6388 100644 --- a/Makefile.in +++ b/Makefile.in @@ -26,7 +26,11 @@ mandir = @mandir@ HAVE_PERLDOC = @HAVE_PERLDOC@ -TOOLS = uname dmesg +TOOLS = uname dmesg ps +export TOOLS + +SUBDIRS_NOT_PO = lib $(TOOLS) mem +SUBDIRS = $(SUBDIRS_NOT_PO) po ifeq ($(HAVE_PERLDOC),perldoc) MANPAGES = virt-mem.1 $(TOOLS:%=virt-%.1) @@ -36,39 +40,38 @@ endif TARGETS = $(MANPAGES) $(TEXTMANPAGES) all: $(TARGETS) - for d in lib $(TOOLS) po; do \ + for d in $(SUBDIRS); do \ $(MAKE) -C $$d $@; \ if [ $$? -ne 0 ]; then exit 1; fi; \ done install: install-man - for d in lib $(TOOLS) po; do \ + for d in $(SUBDIRS); do \ $(MAKE) -C $$d $@; \ if [ $$? -ne 0 ]; then exit 1; fi; \ done depend doc: - for d in lib $(TOOLS); do \ + for d in $(SUBDIRS_NOT_PO); do \ $(MAKE) -C $$d $@; \ if [ $$? -ne 0 ]; then exit 1; fi; \ done clean: - for d in . lib $(TOOLS); do \ + for d in . $(SUBDIRS); do \ (cd $$d; rm -f *.cmi *.cmo *.cmx *.cma *.cmxa *.o *.a \ *.so *.opt *~ *.dll *.exe *.annot core); \ done - for d in po; do \ - (cd $$d; rm -f *~); \ - done rm -f uname/virt-uname rm -f dmesg/virt-dmesg + rm -f ps/virt-ps + rm -f mem/virt-mem distclean: clean rm -f config.h config.log config.status configure rm -rf autom4te.cache rm -f Makefile - rm -f virt-df/Makefile + rm -f */Makefile # Manual page.