libposix: Add _HEADERS primaries to posix modules.
[gnulib.git] / modules / sysexits
index 53a68d3..191ba60 100644 (file)
@@ -12,6 +12,9 @@ configure.ac:
 gl_SYSEXITS
 
 Makefile.am:
+nodist_pkginclude_HEADERS += $(SYSEXITS_H)
+EXTRA_HEADERS += sysexits.h
+
 BUILT_SOURCES += $(SYSEXITS_H)
 
 # We need the following in order to create <sysexits.h> when the system
@@ -22,6 +25,7 @@ sysexits.h: sysexits.in.h
          sed -e 's|@''HAVE_SYSEXITS_H''@|$(HAVE_SYSEXITS_H)|g' \
              -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
              -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
+             -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
              -e 's|@''NEXT_SYSEXITS_H''@|$(NEXT_SYSEXITS_H)|g' \
              < $(srcdir)/sysexits.in.h; \
        } > $@-t && \
@@ -29,10 +33,10 @@ sysexits.h: sysexits.in.h
 MOSTLYCLEANFILES += sysexits.h sysexits.h-t
 
 Include:
-#include <sysexits.h>
+<sysexits.h>
 
 License:
-LGPL
+LGPLv2+
 
 Maintainer:
 Simon Josefsson