]> granicus.if.org Git - libevent/commitdiff
Remove redundant stuff from EXTRA_DIST
authorNick Mathewson <nickm@torproject.org>
Fri, 12 Mar 2010 18:22:47 +0000 (13:22 -0500)
committerNick Mathewson <nickm@torproject.org>
Fri, 12 Mar 2010 18:22:47 +0000 (13:22 -0500)
To a first approximation, sources that are mentioned anywhere in an
automake file don't need to get mentioned in EXTRA_DIST.

Makefile.am
test/Makefile.am

index 1ea04cb832b16eb1af2aeae126bf11aed585d179..6679f0e6c3f261306b9af6fb1f6a1344ae2e6725 100644 (file)
@@ -37,28 +37,23 @@ bin_SCRIPTS = event_rpcgen.py
 pkgconfigdir=$(libdir)/pkgconfig
 pkgconfig_DATA=libevent.pc
 
+# These sources are conditionally added to SYS_SRC by configure.in
+PLATFORM_DEPENDENT_SRC = \
+       kqueue.c epoll_sub.c epoll.c select.c poll.c signal.c \
+       evport.c devpoll.c
+       arc4random.c \
+       evthread_pthread.c
+
 EXTRA_DIST = \
+       evdns.3 event.3 \
        LICENSE \
-       autogen.sh evdns.3 \
-       event.3 \
+       autogen.sh
        libevent.pc.in \
        Doxyfile \
-       kqueue.c epoll_sub.c epoll.c select.c poll.c signal.c \
-       evport.c devpoll.c win32select.c event_rpcgen.py \
-       event_iocp.c buffer_iocp.c iocp-internal.h arc4random.c \
-       sample/Makefile.am sample/Makefile.in sample/event-test.c \
-       sample/signal-test.c sample/time-test.c \
-       test/Makefile.am test/Makefile.in test/bench.c test/regress.c \
-       test/test-eof.c test/test-weof.c test/test-time.c \
-       test/test-init.c test/test.sh \
-       compat/sys/queue.h \
-       evthread_win32.c \
-       evthread_pthread.c \
        whatsnew-2.0.txt \
-       bufferevent_async.c \
-       WIN32-Code/event-config.h \
-       WIN32-Code/tree.h \
-       Makefile.nmake test/Makefile.nmake
+       Makefile.nmake test/Makefile.nmake \
+       event_rpcgen.py \
+       $(PLATFORM_DEPENDENT_SRC)
 
 lib_LTLIBRARIES = libevent.la libevent_core.la libevent_extra.la
 if PTHREADS
@@ -139,8 +134,11 @@ noinst_HEADERS = util-internal.h mm-internal.h ipv6-internal.h \
        bufferevent-internal.h http-internal.h event-internal.h \
        evthread-internal.h ht-internal.h defer-internal.h \
        minheap-internal.h log-internal.h evsignal-internal.h evmap-internal.h \
-       changelist-internal.h \
-       ratelim-internal.h
+       changelist-internal.h iocp-internal.h \
+       ratelim-internal.h \
+       WIN32-Code/event-config.h \
+       WIN32-Code/tree.h \
+       compat/sys/queue.h
 
 include_HEADERS = event.h evhttp.h evdns.h evrpc.h evutil.h
 
index 7243c0c53774ac09c8b95a19a889629c5ed5a51e..e139d4778fb2da375c43386df5799fa9a98623a3 100644 (file)
@@ -2,7 +2,7 @@ AUTOMAKE_OPTIONS = foreign no-dependencies
 
 AM_CFLAGS = -I$(top_srcdir) -I$(top_srcdir)/compat -I$(top_srcdir)/include
 
-EXTRA_DIST = regress.rpc regress.gen.h regress.gen.c
+EXTRA_DIST = regress.rpc regress.gen.h regress.gen.c test.sh
 
 noinst_PROGRAMS = test-init test-eof test-weof test-time regress \
        bench bench_cascade bench_http bench_httpclient test-ratelim