Fix all Makefile.am: work towards 'make distcheck' sanity

This commit is contained in:
Anthony G. Basile 2012-11-17 11:44:13 -05:00
parent 67cae77034
commit 5c40c23567
8 changed files with 58 additions and 9 deletions

View File

@ -1,2 +1,9 @@
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
SUBDIRS = src docs keymaps keymaps-force-release man rules test SUBDIRS = \
src \
docs \
keymaps \
keymaps-force-release \
man \
rules \
test

View File

@ -270,9 +270,18 @@ AC_CONFIG_FILES([Makefile
rules/Makefile rules/Makefile
src/Makefile src/Makefile
src/gudev/Makefile src/gudev/Makefile
src/include/Makefile
src/libudev/Makefile src/libudev/Makefile
src/test/Makefile src/test/Makefile
src/udev/Makefile src/udev/Makefile
src/udev/accelerometer/Makefile
src/udev/ata_id/Makefile
src/udev/cdrom_id/Makefile
src/udev/collect/Makefile
src/udev/keymap/Makefile
src/udev/mtd_probe/Makefile
src/udev/scsi_id/Makefile
src/udev/v4l_id/Makefile
test/Makefile test/Makefile
src/udev/udev.pc src/udev/udev.pc
src/gudev/gudev-1.0.pc src/gudev/gudev-1.0.pc
@ -280,4 +289,5 @@ AC_CONFIG_FILES([Makefile
docs/gudev/version.xml docs/gudev/version.xml
docs/libudev/version.xml docs/libudev/version.xml
src/udev/keymap/keyboard-force-release.sh]) src/udev/keymap/keyboard-force-release.sh])
AC_OUTPUT AC_OUTPUT

View File

@ -1,7 +1,9 @@
ACLOCAL_AMFLAGS = -I m4 ACLOCAL_AMFLAGS = -I m4
SUBDIRS = \ SUBDIRS = \
libudev \ libudev \
udev \ udev \
gudev gudev \
include
# test # test

33
src/include/Makefile.am Normal file
View File

@ -0,0 +1,33 @@
ACLOCAL_AMFLAGS = -I m4
nodist_include_HEADERS = \
acl-util.h \
cgroup-util.h \
conf-files.h \
def.h \
dev-setup.h \
exit-status.h \
hashmap.h \
ioprio.h \
label.h \
libudev-hwdb-def.h \
libudev-private.h \
log.h \
logind-acl.h \
macro.h \
Makefile.am \
missing.h \
mkdir.h \
path-util.h \
sd-daemon.h \
sd-login.h \
set.h \
socket-util.h \
sparse-endian.h \
strbuf.h \
strv.h \
udev.h \
util.h
dist_include_HEADERS = \
libudev.h

View File

@ -11,7 +11,6 @@ lib_LTLIBRARIES = \
libudev.la libudev.la
libudev_la_SOURCES =\ libudev_la_SOURCES =\
libudev-private.h \
libudev.c \ libudev.c \
libudev-list.c \ libudev-list.c \
libudev-util.c \ libudev-util.c \
@ -19,7 +18,6 @@ libudev_la_SOURCES =\
libudev-enumerate.c \ libudev-enumerate.c \
libudev-monitor.c \ libudev-monitor.c \
libudev-queue.c \ libudev-queue.c \
libudev-hwdb-def.h \
libudev-hwdb.c libudev-hwdb.c
libudev_la_CFLAGS = \ libudev_la_CFLAGS = \

View File

@ -40,7 +40,6 @@ noinst_LTLIBRARIES = \
libudev-core.la libudev-core.la
libudev_core_la_SOURCES = \ libudev_core_la_SOURCES = \
udev.h \
udev-event.c \ udev-event.c \
udev-watch.c \ udev-watch.c \
udev-node.c \ udev-node.c \

View File

@ -2,6 +2,7 @@ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
rootprefix=@rootprefix@ rootprefix=@rootprefix@
udevlibexecdir=$(rootprefix)/lib/udev udevlibexecdir=$(rootprefix)/lib/udev
udevhomedir = $(udevlibexecdir)
udevlibexec_PROGRAMS = \ udevlibexec_PROGRAMS = \
keymap keymap
@ -29,7 +30,7 @@ dist_udevhome_SCRIPTS = \
TESTS = \ TESTS = \
check-keymaps.sh check-keymaps.sh
CLEANFILES += \ CLEANFILES = \
keys.txt \ keys.txt \
keys-from-name.gperf \ keys-from-name.gperf \
keyboard-force-release.sh keyboard-force-release.sh
@ -46,8 +47,7 @@ keys-from-name.h: keys-from-name.gperf Makefile
keys-to-name.h: keys.txt Makefile keys-to-name.h: keys.txt Makefile
$(AM_V_GEN)$(AWK) 'BEGIN{ print "const char* const key_names[KEY_CNT] = { "} { print "[" $$1 "] = \"" $$1 "\"," } END{print "};"}' < $< > $@ $(AM_V_GEN)$(AWK) 'BEGIN{ print "const char* const key_names[KEY_CNT] = { "} { print "[" $$1 "] = \"" $$1 "\"," } END{print "};"}' < $< > $@
endif
EXTRA_DIST += \ EXTRA_DIST = \
check-keymaps.sh \ check-keymaps.sh \
keyboard-force-release.sh.in keyboard-force-release.sh.in

View File

@ -11,7 +11,7 @@ AM_CPPFLAGS = \
-I $(top_srcdir)/src/udev \ -I $(top_srcdir)/src/udev \
-I $(top_srcdir)/src/include -I $(top_srcdir)/src/include
udevlibexec_PROGRAMS += \ udevlibexec_PROGRAMS = \
mtd_probe mtd_probe
mtd_probe_SOURCES = \ mtd_probe_SOURCES = \