]> err.no Git - util-linux/commitdiff
build-sys: don't distribute generated blkid.h
authorKarel Zak <kzak@redhat.com>
Fri, 6 Nov 2009 01:53:22 +0000 (02:53 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 6 Nov 2009 01:53:22 +0000 (02:53 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
shlibs/blkid/src/Makefile.am

index 4947000887703d7dc6c1189f138ddf5c1e95cf0a..a9fcfb524718ba8fd8c04cc1314faebcb0597717 100644 (file)
@@ -19,12 +19,12 @@ AM_CPPFLAGS += -I$(ul_libblkid_srcdir) $(common_cflags)
 
 # includes
 blkidincdir = $(includedir)/blkid
-blkidinc_HEADERS = blkid.h
+nodist_blkidinc_HEADERS = blkid.h
 
 usrlib_exec_LTLIBRARIES = libblkid.la
 libblkid_la_SOURCES = cache.c dev.c devname.c devno.c getsize.c llseek.c  \
                     probe.c read.c resolve.c save.c tag.c version.c verify.c \
-                    encode.c blkid.h list.h blkidP.h superblocks/superblocks.h \
+                    encode.c list.h blkidP.h superblocks/superblocks.h \
                     config.c evaluate.c \
                     $(blkidinc_HEADERS) \
                     $(top_srcdir)/lib/blkdev.c \
@@ -33,12 +33,14 @@ libblkid_la_SOURCES = cache.c dev.c devname.c devno.c getsize.c llseek.c  \
                     $(top_srcdir)/lib/md5.c \
                     $(top_srcdir)/lib/crc32.c
 
+nodist_libblkid_la_SOURCES = blkid.h
+
 libblkid_la_LIBADD = superblocks/libblkid_superblocks.la \
                     topology/libblkid_topology.la \
                     partitions/libblkid_partitions.la \
                     $(common_ldadd)
 
-libblkid_la_DEPENDENCIES = $(libblkid_la_LIBADD) blkid.sym
+libblkid_la_DEPENDENCIES = $(libblkid_la_LIBADD) blkid.sym blkid.h.in
 
 libblkid_la_LDFLAGS = -Wl,--version-script=$(ul_libblkid_srcdir)/blkid.sym \
                       -version-info $(LIBBLKID_VERSION_INFO)