Code

Didn't add intprops.h into distribution correctly
authorTon Voon <tonvoon@users.sourceforge.net>
Mon, 10 Jul 2006 08:44:39 +0000 (08:44 +0000)
committerTon Voon <tonvoon@users.sourceforge.net>
Mon, 10 Jul 2006 08:44:39 +0000 (08:44 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1445 f882894a-f735-0410-b71e-b25c423dba1c

lib/Makefile.am

index 35663b19eb9608cb96aa3a1c437fdadb3a6263f2..9a8991e149d31ad3ab90529565db98ae06f80091 100644 (file)
@@ -13,11 +13,16 @@ libcoreutils_a_SOURCES = \
   safe-write.c safe-write.h strcase.h xalloc-die.c
 
 # intprops.h required for getloadavg.c
+# This needs to be an EXTRA_DIST because the m4s
+# that have AC_LIBSOURCES for intprops.h are not necessary and
+# the getloadavg m4 is an autoconf one, so doesn't
+# know about intprops.h. Confused? You will be!
+EXTRA_DIST = intprops.h
+
 other_coreutils_files = \
   error.c error.h \
   fsusage.c \
   getloadavg.c \
-  intprops.h \
   malloc.c \
   mountlist.c \
   realloc.c \
@@ -43,7 +48,7 @@ print_coreutil_files:
 
 # Below are from coreutil's lib/Makefile.am
 BUILT_SOURCES = $(STDBOOL_H)
-EXTRA_DIST = stdbool_.h
+EXTRA_DIST += stdbool_.h
 MOSTLYCLEANFILES = stdbool.h stdbool.ht
 # Create stdbool.h on systems that lack a working one.
 stdbool.h: stdbool_.h