build: remove autotools build system

Now that we are post-3.26, we are removing the legacy autotools
build system in favor of meson.

Please report any errors you have so that we can ensure this is
ready for GNOME 3.28.
This commit is contained in:
Christian Hergert
2017-09-15 17:44:23 -07:00
parent 23a9697af4
commit 3e5a2af1b4
77 changed files with 0 additions and 17522 deletions

View File

@ -1,105 +0,0 @@
SUBDIRS = icons
mimedir = $(datadir)/mime/packages
mime_DATA = sysprof-mime.xml
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = sysprof-$(API_VERSION).pc
if ENABLE_GTK
pkgconfig_DATA += sysprof-ui-$(API_VERSION).pc
endif
gsettings_SCHEMAS = org.gnome.sysprof2.gschema.xml
.PRECIOUS: $(gsettings_SCHEMAS)
@GSETTINGS_RULES@
%.desktop: %.desktop.in
$(AM_V_GEN)$(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
desktopdir = $(datadir)/applications
desktop_in_files = org.gnome.Sysprof2.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
%.appdata.xml: %.appdata.xml.in
$(AM_V_GEN)$(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@
@APPSTREAM_XML_RULES@
appstream_in_files = org.gnome.Sysprof2.appdata.xml.in
appstream_XML = $(appstream_in_files:.xml.in=.xml)
EXTRA_DIST = \
sysprof.pc.in \
$(desktop_in_files) \
$(appstream_in_files) \
$(mime_DATA) \
$(gsettings_SCHEMAS) \
meson.build \
$(NULL)
DISTCLEANFILES = $(pkgconfig_DATA) $(appstream_XML) $(desktop_DATA)
GITIGNOREFILES = $(dbusservice_DATA)
if ENABLE_SYSPROFD
dbusservicedir = $(datadir)/dbus-1/system-services
dbusservice_in_files = org.gnome.Sysprof2.service.in
dbusservice_DATA = $(dbusservice_in_files:.service.in=.service)
$(dbusservice_DATA): $(dbusservice_in_files) Makefile
@sed -e "s|\@sysprofdprivdir\@|$(libexecdir)/$(PACKAGE)|" $< > $@
dbusconfdir = $(datadir)/dbus-1/system.d
dbusconf_in_files = org.gnome.Sysprof2.conf.in
dbusconf_DATA = $(dbusconf_in_files:.conf.in=.conf)
systemdservice_in_files = sysprof2.service.in
systemdservicedir = $(systemdsystemunitdir)
systemdservice_DATA = $(systemdservice_in_files:.service.in=.service)
$(systemdservice_DATA): $(systemdservice_in_files) Makefile
@sed -e "s|\@sysprofdprivdir\@|$(libexecdir)/$(PACKAGE)|" $< > $@
polkitdir = $(datadir)/polkit-1/actions
polkit_in_files = org.gnome.sysprof2.policy.in
polkit_DATA = $(polkit_in_files:.policy.in=.policy)
DISTCLEANFILES += \
$(systemdservice_DATA) \
$(dbusservice_DATA) \
$(NULL)
EXTRA_DIST += \
org.gnome.Sysprof2.xml \
$(dbusservice_in_files) \
$(dbusconf_in_files) \
$(systemdservice_in_files) \
$(polkit_in_files) \
$(NULL)
GITIGNOREFILES += $(systemdservice_DATA)
endif
install-data-local: install-mimeDATA
if [ -f $(DESTDIR)$(datadir)/mime/packages/freedesktop.org.xml ] ; then \
if which update-mime-database>/dev/null 2>&1; then \
update-mime-database $(DESTDIR)$(datadir)/mime; \
fi \
fi
uninstall-local:
if [ -f $(DESTDIR)$(datadir)/mime/packages/freedesktop.org.xml ] ; then \
if which update-mime-database>/dev/null 2>&1; then \
update-mime-database $(DESTDIR)$(datadir)/mime; \
fi \
fi
-include $(top_srcdir)/git.mk

View File

@ -1,27 +0,0 @@
icondir = $(datadir)/icons/hicolor
nobase_icon_DATA = \
16x16/apps/sysprof.png \
24x24/apps/sysprof.png \
32x32/apps/sysprof.png \
48x48/apps/sysprof.png \
256x256/apps/sysprof.png \
scalable/apps/sysprof-symbolic.svg \
$(NULL)
EXTRA_DIST = $(nobase_icon_DATA)
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
install-data-hook: update-icon-cache
uninstall-hook: update-icon-cache
update-icon-cache:
@-if test -z "$(DESTDIR)"; then \
echo "Updating Gtk icon cache."; \
$(gtk_update_icon_cache); \
else \
echo "*** Icon cache not updated. After (un)install, run this:"; \
echo "*** $(gtk_update_icon_cache)"; \
fi
-include $(top_srcdir)/git.mk