build: Move data files to their dedicated subfolder

This commit is contained in:
Rico Tzschichholz 2014-06-05 10:50:15 +02:00
parent 2250865eb6
commit ec8ba4b5f9
17 changed files with 59 additions and 98 deletions

View File

@ -1,35 +0,0 @@
Makefile
Makefile.in
aclocal.m4
confdefs.h
config.cache
config.guess
config.h
config.log
config.status
config.sub
configure
configure.scan
libtool
ltconfig
ltmain.sh
stamp-h
stamp-h.in
stamp-h1
stamp.h
version.h
config.h.in
install-sh
missing
mkinstalldirs
INSTALL
intl
ABOUT-NLS
COPYING
intltool-*
metacity.spec
autom4te.cache
compile
depcomp
omf.make
xmldocs.make

27
.gitignore vendored
View File

@ -19,11 +19,11 @@ libtool
ltmain.sh ltmain.sh
missing missing
.deps .deps
src/50-mutter-navigation.xml data/50-mutter-navigation.xml
src/50-mutter-system.xml data/50-mutter-system.xml
src/50-mutter-windows.xml data/50-mutter-windows.xml
src/mutter.desktop data/mutter.desktop
src/mutter-wayland.desktop data/mutter-wayland.desktop
*.o *.o
*.a *.a
*.lo *.lo
@ -32,10 +32,6 @@ src/mutter-wayland.desktop
*.swp *.swp
*.gir *.gir
*.typelib *.typelib
tidy-enum-types.[ch]
tidy-marshal.[ch]
stamp-tidy-enum-types.h
stamp-tidy-marshal.h
stamp-h1 stamp-h1
*.gmo *.gmo
*.make *.make
@ -44,14 +40,12 @@ stamp-it
.intltool-merge-cache .intltool-merge-cache
POTFILES POTFILES
po/*.pot po/*.pot
50-metacity-desktop-key.xml
50-metacity-key.xml
libmutter.pc libmutter.pc
mutter mutter
org.gnome.mutter.gschema.valid data/org.gnome.mutter.gschema.valid
org.gnome.mutter.gschema.xml data/org.gnome.mutter.gschema.xml
org.gnome.mutter.wayland.gschema.valid data/org.gnome.mutter.wayland.gschema.valid
org.gnome.mutter.wayland.gschema.xml data/org.gnome.mutter.wayland.gschema.xml
testasyncgetprop testasyncgetprop
testboxes testboxes
testgradient testgradient
@ -66,9 +60,6 @@ test-focus
test-gravity test-gravity
test-resizing test-resizing
test-size-hints test-size-hints
# We can't say just "wm-tester" here or it will ignore the directory
# rather than the binary
src/wm-tester/wm-tester
INSTALL INSTALL
mkinstalldirs mkinstalldirs
src/mutter-enum-types.[ch] src/mutter-enum-types.[ch]

View File

@ -1,8 +1,13 @@
SUBDIRS=src po doc SUBDIRS = data src po doc
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
DISTCLEANFILES = intltool-extract intltool-merge intltool-update po/stamp-it po/.intltool-merge-cache DISTCLEANFILES = \
intltool-extract \
intltool-merge \
intltool-update \
po/stamp-it \
po/.intltool-merge-cache
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc

View File

@ -379,6 +379,7 @@ changequote([,])dnl
AC_CONFIG_FILES([ AC_CONFIG_FILES([
Makefile Makefile
data/Makefile
doc/Makefile doc/Makefile
doc/man/Makefile doc/man/Makefile
doc/reference/Makefile doc/reference/Makefile

View File

@ -1,3 +1,36 @@
defaultcursordir = $(pkgdatadir)/cursors desktopfiles_in_files = \
mutter.desktop.in \
mutter-wayland.desktop.in
desktopfilesdir = $(datadir)/applications
desktopfiles_DATA = $(desktopfiles_in_files:.desktop.in=.desktop)
dist_defaultcursor_DATA = left_ptr.png @INTLTOOL_DESKTOP_RULE@
xml_in_files = \
50-mutter-navigation.xml.in \
50-mutter-system.xml.in \
50-mutter-windows.xml.in
xmldir = $(GNOME_KEYBINDINGS_KEYSDIR)
xml_DATA = $(xml_in_files:.xml.in=.xml)
gschema_in_files = \
org.gnome.mutter.gschema.xml.in \
org.gnome.mutter.wayland.gschema.xml.in
gsettings_SCHEMAS = $(gschema_in_files:.xml.in=.xml)
@INTLTOOL_XML_NOMERGE_RULE@
@GSETTINGS_RULES@
convertdir = $(datadir)/GConf/gsettings
convert_DATA = mutter-schemas.convert
CLEANFILES = \
$(desktopfiles_DATA) \
$(gsettings_SCHEMAS) \
$(xml_DATA)
EXTRA_DIST = \
$(convert_DATA) \
$(desktopfiles_in_files) \
$(gschema_in_files) \
$(xml_in_files)

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -1,8 +1,11 @@
# List of source files containing translatable strings. # List of source files containing translatable strings.
# Please keep this file sorted alphabetically. # Please keep this file sorted alphabetically.
src/50-mutter-navigation.xml.in data/50-mutter-navigation.xml.in
src/50-mutter-system.xml.in data/50-mutter-system.xml.in
src/50-mutter-windows.xml.in data/50-mutter-windows.xml.in
data/mutter.desktop.in
data/org.gnome.mutter.gschema.xml.in
data/org.gnome.mutter.wayland.gschema.xml.in
src/backends/meta-monitor-manager.c src/backends/meta-monitor-manager.c
src/compositor/compositor.c src/compositor/compositor.c
src/compositor/meta-background.c src/compositor/meta-background.c
@ -18,9 +21,6 @@ src/core/prefs.c
src/core/screen.c src/core/screen.c
src/core/util.c src/core/util.c
src/core/window.c src/core/window.c
src/mutter.desktop.in
src/org.gnome.mutter.gschema.xml.in
src/org.gnome.mutter.wayland.gschema.xml.in
src/ui/frames.c src/ui/frames.c
src/ui/resizepopup.c src/ui/resizepopup.c
src/ui/theme.c src/ui/theme.c

View File

@ -1,2 +1 @@
src/metacity.schemas.in data/mutter-wayland.desktop.in
src/mutter-wayland.desktop.in

View File

@ -345,51 +345,18 @@ testboxes_LDADD = $(MUTTER_LIBS) libmutter.la
testgradient_LDADD = $(MUTTER_LIBS) libmutter.la testgradient_LDADD = $(MUTTER_LIBS) libmutter.la
testasyncgetprop_LDADD = $(MUTTER_LIBS) libmutter.la testasyncgetprop_LDADD = $(MUTTER_LIBS) libmutter.la
@INTLTOOL_DESKTOP_RULE@
desktopfilesdir=$(datadir)/applications
desktopfiles_in_files=mutter.desktop.in
desktopfiles_files=$(desktopfiles_in_files:.desktop.in=.desktop)
desktopfiles_DATA = $(desktopfiles_files)
xmldir = $(GNOME_KEYBINDINGS_KEYSDIR)
xml_in_files = \
50-mutter-navigation.xml.in \
50-mutter-system.xml.in \
50-mutter-windows.xml.in
xml_DATA = $(xml_in_files:.xml.in=.xml)
dbus_idle_built_sources = meta-dbus-idle-monitor.c meta-dbus-idle-monitor.h dbus_idle_built_sources = meta-dbus-idle-monitor.c meta-dbus-idle-monitor.h
gsettings_SCHEMAS = org.gnome.mutter.gschema.xml org.gnome.mutter.wayland.gschema.xml
@INTLTOOL_XML_NOMERGE_RULE@
@GSETTINGS_RULES@
convertdir = $(datadir)/GConf/gsettings
convert_DATA = mutter-schemas.convert
CLEANFILES = \ CLEANFILES = \
$(desktopfiles_DATA) \
$(gsettings_SCHEMAS) \
$(xml_DATA) \
$(mutter_built_sources) \ $(mutter_built_sources) \
$(typelib_DATA) \ $(typelib_DATA) \
$(gir_DATA) $(gir_DATA)
pkgconfigdir = $(libdir)/pkgconfig pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libmutter.pc pkgconfig_DATA = libmutter.pc
EXTRA_DIST = \ EXTRA_DIST = \
$(wmproperties_files) \
$(IMAGES) \
$(desktopfiles_in_files) \
$(wmproperties_in_files) \
$(xml_in_files) \
$(wayland_protocols) \ $(wayland_protocols) \
org.gnome.mutter.gschema.xml.in \
org.gnome.mutter.wayland.gschema.xml.in \
mutter-schemas.convert \
libmutter.pc.in \ libmutter.pc.in \
mutter-enum-types.h.in \ mutter-enum-types.h.in \
mutter-enum-types.c.in \ mutter-enum-types.c.in \