noinst_HEADERS += \
include/libacl.h \
include/acl.h \
include/acl_ea.h \
include/misc.h \
include/walk_tree.h
SUBST_INSTALL_HEADER = \
subst_install_header() { \
file=`echo "$$1" | sed -e 's,^.*/,,'`; \
$(SED) -e "s/\<EXPORT\>/extern/" < "$$1" > "include/$$file.t" || exit 1; \
$(MKDIR_P) "$$2" || exit 1; \
$(INSTALL_HEADER) "include/$$file.t" "$$2/$$file" || exit 1; \
$(RM) "include/$$file.t"; \
}; \
subst_install_header
install-libacl_h: include/libacl.h
$(SUBST_INSTALL_HEADER) "$<" "$(DESTDIR)$(pkgincludedir)"
install-acl_h: include/acl.h
$(SUBST_INSTALL_HEADER) "$<" "$(DESTDIR)$(sysincludedir)"
install-data-local: install-libacl_h install-acl_h
uninstall-local:
-rm -f "$(DESTDIR)$(pkgincludedir)/libacl.h" "$(DESTDIR)$(sysincludedir)/acl.h"