2016-06-09 23:40:27 +02:00
|
|
|
resource_files = $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --sourcedir=$(builddir) --generate-dependencies $(builddir)/gnome-twofactorauth.gresource.xml)
|
|
|
|
gnome-twofactorauth.gresource: gnome-twofactorauth.gresource.xml $(resource_files)
|
|
|
|
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --sourcedir=$(builddir) $<
|
|
|
|
|
|
|
|
resourcedir = $(pkgdatadir)
|
|
|
|
resource_DATA = gnome-twofactorauth.gresource
|
|
|
|
|
|
|
|
SUBDIRS = applications
|
2016-05-27 14:51:12 +02:00
|
|
|
|
2016-05-27 03:51:58 +02:00
|
|
|
desktopdir = $(datadir)/applications
|
2016-06-02 21:04:34 +02:00
|
|
|
desktop_DATA = gnome-twofactorauth.desktop
|
2016-05-25 22:18:10 +02:00
|
|
|
|
2016-05-28 22:58:10 +02:00
|
|
|
appdatadir = $(pkgdatadir)/appdata
|
2016-05-25 22:18:10 +02:00
|
|
|
appdata_DATA = \
|
2016-06-02 21:04:34 +02:00
|
|
|
gnome-twofactorauth.appdata.xml
|
2016-05-25 22:18:10 +02:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
2016-06-09 23:40:27 +02:00
|
|
|
$(resource_files) \
|
2016-05-29 22:20:58 +02:00
|
|
|
$(desktop_DATA) \
|
|
|
|
$(appdata_DATA)
|
2016-05-25 22:18:10 +02:00
|
|
|
|
|
|
|
CLEANFILES = \
|
2016-05-29 22:20:58 +02:00
|
|
|
$(appdata_DATA) \
|
2016-06-09 23:40:27 +02:00
|
|
|
$(desktop_DATA) \
|
|
|
|
$(resource_files) \
|
2016-05-25 22:18:10 +02:00
|
|
|
|
|
|
|
install-data-hook:
|
|
|
|
$(UPDATE_DESKTOP)
|
|
|
|
uninstall-hook:
|
|
|
|
$(UPDATE_DESKTOP)
|