make: add a "showlayout" target for diagnostics
authorMichael Adam <obnox@samba.org>
Tue, 3 Feb 2009 23:22:01 +0000 (00:22 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 3 Feb 2009 23:22:01 +0000 (00:22 +0100)
Michael

Makefile.in

index a15e7b645771783c7716fe879c7949effa69c3df..176e2bfc234d091ecd1d77bfe857ae5291625ad3 100755 (executable)
@@ -76,6 +76,17 @@ showflags:
        @echo '  CFLAGS = $(CFLAGS)'
        @echo '  LIBS = $(LIBS)'
 
+showlayout::
+       @echo "ctdb will be installed into:"
+       @echo "  prefix:      $(prefix)"
+       @echo "  bindir:      $(bindir)"
+       @echo "  sbindir:     $(sbindir)"
+       @echo "  libdir:      $(libdir)"
+       @echo "  vardir:      $(localstatedir)"
+       @echo "  logdir:      $(logdir)"
+       @echo "  mandir:      $(mandir)"
+       @echo "  etcdir:      $(etcdir)"
+
 .c.o:
        @echo Compiling $*.c
        @mkdir -p `dirname $@`