diff --git a/include/ntfs-3g/Makefile.am b/include/ntfs-3g/Makefile.am index 89f46bf5..a6550186 100644 --- a/include/ntfs-3g/Makefile.am +++ b/include/ntfs-3g/Makefile.am @@ -1,8 +1,7 @@ MAINTAINERCLEANFILES = $(srcdir)/Makefile.in -if INSTALL_LIBRARY -ntfs3ginclude_HEADERS = \ +headers = \ attrib.h \ attrlist.h \ bitmap.h \ @@ -32,5 +31,10 @@ ntfs3ginclude_HEADERS = \ unistr.h \ version.h \ volume.h + +if INSTALL_LIBRARY +ntfs3ginclude_HEADERS = $(headers) +else +noinst_HEADERS = $(headers) endif