OSDN Git Service

maint: rename public .h files to .in.h
authorJim Meyering <meyering@redhat.com>
Mon, 9 Jan 2012 18:42:49 +0000 (19:42 +0100)
committerJim Meyering <meyering@redhat.com>
Mon, 9 Jan 2012 19:39:35 +0000 (20:39 +0100)
commite977fafd31d61a6fca60e20b86f536048fdaa68e
tree54e1d835cae45b7aee8db436368e053174493ed9
parentace74051ebdadd2d6d428948af1982543149ae79
maint: rename public .h files to .in.h

Generate .h files from .in.h files, so that we can continue
to use _GL_ATTRIBUTE_PURE and _GL_ATTRIBUTE_CONST in the primary
sources, without including them in publicly-installed files.
Each generated (and later installed) header file gets expansions
of those macros.
* include/parted/Makefile.am: New rules.
* .gitignore: Ignore the generated files.
* Makefile.am (SUBDIRS): Reorder so we build in include/ before
libparted, i.e., so that we generate the .h files we'll need.
18 files changed:
.gitignore
Makefile.am
include/parted/Makefile.am
include/parted/constraint.in.h [moved from include/parted/constraint.h with 100% similarity]
include/parted/crc32.in.h [moved from include/parted/crc32.h with 100% similarity]
include/parted/debug.in.h [moved from include/parted/debug.h with 100% similarity]
include/parted/device.in.h [moved from include/parted/device.h with 100% similarity]
include/parted/disk.in.h [moved from include/parted/disk.h with 100% similarity]
include/parted/endian.in.h [moved from include/parted/endian.h with 100% similarity]
include/parted/exception.in.h [moved from include/parted/exception.h with 100% similarity]
include/parted/fdasd.in.h [moved from include/parted/fdasd.h with 100% similarity]
include/parted/filesys.in.h [moved from include/parted/filesys.h with 100% similarity]
include/parted/geom.in.h [moved from include/parted/geom.h with 100% similarity]
include/parted/natmath.in.h [moved from include/parted/natmath.h with 100% similarity]
include/parted/parted.in.h [moved from include/parted/parted.h with 100% similarity]
include/parted/timer.in.h [moved from include/parted/timer.h with 100% similarity]
include/parted/unit.in.h [moved from include/parted/unit.h with 100% similarity]
include/parted/vtoc.in.h [moved from include/parted/vtoc.h with 100% similarity]