pamac-classic/resources/Makefile

41 lines
1.5 KiB
Makefile
Raw Normal View History

2014-11-17 17:56:15 -03:00
MANAGER_RESOURCES_FILES = manager_window.ui \
choose_dep_dialog.ui \
history_dialog.ui \
package-available.png \
package-install.png \
package-installed-locked.png \
package-installed-updated.png \
package-reinstall.png \
package-remove.png
2015-08-20 10:11:18 -03:00
UPDATER_RESOURCES_FILES = updater_window.ui
2014-11-17 17:56:15 -03:00
2015-08-20 10:11:18 -03:00
TRANSACTION_RESOURCES_FILES = progress_dialog.ui \
2014-11-17 17:56:15 -03:00
choose_provider_dialog.ui \
transaction_sum_dialog.ui \
transaction_info_dialog.ui
2015-08-20 10:11:18 -03:00
PREFERENCES_RESOURCES_FILES = preferences_dialog.ui \
choose_ignorepkgs_dialog.ui
MANAGER_GRESOURCE_FILE = pamac.manager.gresource.xml
UPDATER_GRESOURCE_FILE = pamac.updater.gresource.xml
INSTALLER_GRESOURCE_FILE = pamac.installer.gresource.xml
resources: manager_resources.c updater_resources.c installer_resources.c
clean:
rm -f *.c
2015-08-20 10:11:18 -03:00
manager_resources.c: $(MANAGER_GRESOURCE_FILE) $(MANAGER_RESOURCES_FILES) $(TRANSACTION_RESOURCES_FILES) $(PREFERENCES_RESOURCES_FILES)
2014-11-17 17:56:15 -03:00
glib-compile-resources $(MANAGER_GRESOURCE_FILE) --target=manager_resources.c --generate-source
2015-08-20 10:11:18 -03:00
updater_resources.c: $(UPDATER_GRESOURCE_FILE) $(UPDATER_RESOURCES_FILES) $(TRANSACTION_RESOURCES_FILES) $(PREFERENCES_RESOURCES_FILES)
2014-11-17 17:56:15 -03:00
glib-compile-resources $(UPDATER_GRESOURCE_FILE) --target=updater_resources.c --generate-source
2015-08-20 10:11:18 -03:00
installer_resources.c: $(INSTALLER_GRESOURCE_FILE) $(TRANSACTION_RESOURCES_FILES)
2014-11-17 17:56:15 -03:00
glib-compile-resources $(INSTALLER_GRESOURCE_FILE) --target=installer_resources.c --generate-source