pamac-classic/resources/Makefile

46 lines
1.6 KiB
Makefile
Raw Normal View History

2014-11-17 17:56:15 -03:00
MANAGER_RESOURCES_FILES = manager_window.ui \
history_dialog.ui \
package-available.png \
2016-04-14 13:19:20 -03:00
package-available-locked.png \
2014-11-17 17:56:15 -03:00
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
2016-05-18 10:25:31 -04:00
INSTALLER_RESOURCES_FILES = progress_dialog.ui
TRANSACTION_RESOURCES_FILES = progress_box.ui \
2014-11-17 17:56:15 -03:00
choose_provider_dialog.ui \
transaction_sum_dialog.ui \
preferences_dialog.ui \
2015-08-20 10:11:18 -03:00
choose_ignorepkgs_dialog.ui
TRANSACTION_GRESOURCE_FILE = pamac.transaction.gresource.xml
2015-08-20 10:11:18 -03:00
MANAGER_GRESOURCE_FILE = pamac.manager.gresource.xml
UPDATER_GRESOURCE_FILE = pamac.updater.gresource.xml
2016-05-18 10:25:31 -04:00
INSTALLER_GRESOURCE_FILE = pamac.installer.gresource.xml
resources: transaction_resources.c manager_resources.c updater_resources.c installer_resources.c
clean:
rm -f *.c
transaction_resources.c: $(TRANSACTION_GRESOURCE_FILE) $(TRANSACTION_RESOURCES_FILES)
glib-compile-resources $(TRANSACTION_GRESOURCE_FILE) --target=transaction_resources.c --generate-source
manager_resources.c: $(MANAGER_GRESOURCE_FILE) $(MANAGER_RESOURCES_FILES)
2014-11-17 17:56:15 -03:00
glib-compile-resources $(MANAGER_GRESOURCE_FILE) --target=manager_resources.c --generate-source
updater_resources.c: $(UPDATER_GRESOURCE_FILE) $(UPDATER_RESOURCES_FILES)
2014-11-17 17:56:15 -03:00
glib-compile-resources $(UPDATER_GRESOURCE_FILE) --target=updater_resources.c --generate-source
2016-05-18 10:25:31 -04:00
2016-11-02 10:23:52 -03:00
installer_resources.c: $(INSTALLER_GRESOURCE_FILE) $(INSTALLER_RESOURCES_FILES)
2016-05-18 10:25:31 -04:00
glib-compile-resources $(INSTALLER_GRESOURCE_FILE) --target=installer_resources.c --generate-source