X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=netatalk.git;a=blobdiff_plain;f=Makefile.am;h=d52633f7737b9e2b30994fdd9c1acee4df2aadff;hp=646503575ec6d7253d5e31fa56abe4a6d7b0f214;hb=23223d9c3318c984ffc628c8609bc6ded16805b8;hpb=f357762920325c7d84ec891e468655fea5b4473e diff --git a/Makefile.am b/Makefile.am index 64650357..d52633f7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,10 +1,19 @@ # Makefile.am for top level of netatalk package -# libevent should be first -SUBDIRS = libevent libatalk bin config etc man contrib distrib include sys doc macros test +if USE_BUILTIN_LIBEVENT +SUBDIRS = libevent include libatalk bin config etc contrib distrib doc man macros test +else +SUBDIRS = include libatalk bin config etc contrib distrib doc man macros test +endif -EXTRA_DIST = CONTRIBUTORS COPYRIGHT COPYING NEWS VERSION services.atalk +EXTRA_DIST = CONTRIBUTORS COPYRIGHT COPYING NEWS VERSION abigen.sh ACLOCAL_AMFLAGS = -I macros AUTOMAKE_OPTIONS = foreign +if RUN_LDCONFIG +install-exec-hook: + @printf "Running ldconfig to ensure libraries installed in system library directories are added to the dynamic linker cache ... " + @-@NETA_LDCONFIG@ + @printf "done\n" +endif